|
Blender V5.3
|
Classes | |
| struct | Vfx |
| struct | FragOut |
| struct | Composite |
| struct | Colorize |
| struct | Blur |
| struct | Transform |
| struct | Glow |
| struct | Rim |
| struct | Shadow |
| struct | Pixelize |
Enumerations | |
| enum | ColorizeShaderFxModes : int { eShaderFxColorizeMode_GrayScale = 0 , eShaderFxColorizeMode_Sepia = 1 , eShaderFxColorizeMode_Duotone = 2 , eShaderFxColorizeMode_Custom = 3 , eShaderFxColorizeMode_Transparent = 4 } |
| enum | FxMode : int { COMPOSITE = 0 , COLORIZE = 1 , BLUR = 2 , TRANSFORM = 3 , GLOW = 4 , RIM = 5 , SHADOW = 6 , PIXELIZE = 7 } |
Functions | |
| float | gaussian_weight (float x) |
| void | frag (const Vfx &srt, const Composite &composite, const Colorize &colorize, const Blur &blur, const Transform &transform, const Glow &glow, const Rim &rim, const Shadow &shadow, const Pixelize &pixelize, const float4 frag_co, FragOut &frag_out) |
| void | vert (const int vert_id, float4 &position) |
| enum grease_pencil::vfx::ColorizeShaderFxModes : int |
| Enumerator | |
|---|---|
| eShaderFxColorizeMode_GrayScale | |
| eShaderFxColorizeMode_Sepia | |
| eShaderFxColorizeMode_Duotone | |
| eShaderFxColorizeMode_Custom | |
| eShaderFxColorizeMode_Transparent | |
Definition at line 14 of file gpencil_vfx.bsl.hh.
| enum grease_pencil::vfx::FxMode : int |
| Enumerator | |
|---|---|
| COMPOSITE | |
| COLORIZE | |
| BLUR | |
| TRANSFORM | |
| GLOW | |
| RIM | |
| SHADOW | |
| PIXELIZE | |
Definition at line 22 of file gpencil_vfx.bsl.hh.
| void grease_pencil::vfx::frag | ( | const Vfx & | srt, |
| const Composite & | composite, | ||
| const Colorize & | colorize, | ||
| const Blur & | blur, | ||
| const Transform & | transform, | ||
| const Glow & | glow, | ||
| const Rim & | rim, | ||
| const Shadow & | shadow, | ||
| const Pixelize & | pixelize, | ||
| const float4 | frag_co, | ||
| FragOut & | frag_out ) |
Definition at line 385 of file gpencil_vfx.bsl.hh.
References BLUR, COLORIZE, COMPOSITE, condition, frag(), frag_coord, GLOW, out, PIXELIZE, resource_table, RIM, SHADOW, static_branch, textureSize(), TRANSFORM, and transform().
Referenced by frag().
Definition at line 33 of file gpencil_vfx.bsl.hh.
References exp, gaussian_weight(), and x.
Referenced by gaussian_weight(), grease_pencil::vfx::Blur::process(), grease_pencil::vfx::Glow::process(), grease_pencil::vfx::Rim::process(), and grease_pencil::vfx::Shadow::process().
| void grease_pencil::vfx::vert | ( | const int | vert_id, |
| float4 & | position ) |
Definition at line 426 of file gpencil_vfx.bsl.hh.
References fullscreen_vertex(), position, vert(), and vertex_id.
Referenced by vert().