Blender
V3.3
|
#include "gpu_shader_create_info.hh"
Go to the source code of this file.
Functions | |
fragment_out (0, Type::VEC4, "fragColor") .fragment_out(1 | |
flat(Type::VEC4, "finalColor") .flat(Type | push_constant (Type::FLOAT, "alpha") .additional_info("draw_view") |
Armature Shapes | |
smooth(Type::VEC4, "pPos") .smooth(Type pos | vertex_in (1, Type::VEC3, "snor") .vertex_in(2 |
smooth(Type::VEC4, "finalColor") .flat(Type pos | vertex_in (1, Type::VEC3, "nor") .vertex_in(2 |
smooth(Type::VEC4, "finalColor") .flat(Type pos inst_obmat | depth_write (DepthWrite::GREATER) .vertex_out(overlay_armature_shape_solid_iface) .vertex_source("overlay_armature_shape_solid_vert.glsl") .fragment_source("overlay_armature_shape_solid_frag.glsl") .additional_info("overlay_frag_output" |
pos inst_obmat | vertex_out (overlay_armature_wire_iface) .vertex_source("overlay_armature_shape_wire_vert.glsl") .fragment_source("overlay_armature_wire_frag.glsl") .additional_info("overlay_frag_output" |
Armature Envelope | |
pos0 | vertex_in (1, Type::VEC2, "pos1") .vertex_in(2 |
pos0 pos2 | vertex_in (3, Type::VEC4, "headSphere") .vertex_in(4 |
pos0 pos2 tailSphere | vertex_in (5, Type::VEC4, "outlineColorSize") .vertex_in(6 |
flat(Type::VEC3, "finalStateColor") .flat(Type pos | vertex_in (1, Type::VEC4, "headSphere") .vertex_in(2 |
flat(Type::VEC3, "finalStateColor") .flat(Type pos tailSphere | vertex_in (3, Type::VEC3, "xAxis") .vertex_in(4 |
Armature Stick | |
no_perspective(Type::FLOAT, "colorFac") .flat(Type pos | vertex_in (1, Type::UINT, "flag") .vertex_in(2 |
no_perspective(Type::FLOAT, "colorFac") .flat(Type pos boneStart | vertex_in (3, Type::VEC3, "boneEnd") .vertex_in(4 |
no_perspective(Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor | vertex_in (5, Type::VEC4, "boneColor") .vertex_in(6 |
no_perspective(Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor headColor | vertex_in (7, Type::VEC4, "tailColor") .define("do_wire" |
no_perspective(Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor headColor wireColor a | vertex_out (overlay_armature_stick_iface) .vertex_source("overlay_armature_stick_vert.glsl") .fragment_source("overlay_armature_stick_frag.glsl") .additional_info("overlay_frag_output" |
Armature Degrees of Freedom | |
vertex_in (0, Type::VEC2, "pos") .vertex_in(1 | |
color | vertex_in (2, Type::MAT4, "inst_obmat") .vertex_out(overlay_armature_wire_iface) .vertex_source("overlay_armature_dof_vert.glsl") .additional_info("overlay_frag_output" |
Variables | |
lineOutput | |
Armature Sphere | |
pos | overlay_armature_common |
pos | draw_globals |
drw_clipped | |
do_static_compilation (true) .vertex_in(0 | |
pos | vertex_in (1, Type::MAT4, "inst_obmat") .vertex_out(overlay_armature_wire_iface) .vertex_source("overlay_armature_sphere_outline_vert.glsl") .fragment_source("overlay_armature_wire_frag.glsl") .additional_info("overlay_frag_output" |
flat(Type::VEC3, "finalStateColor") .flat(Type pos | vertex_in (1, Type::VEC4, "color") .vertex_in(2 |
flat(Type::VEC3, "finalStateColor") .flat(Type pos inst_obmat | vertex_out (overlay_armature_sphere_solid_iface) .vertex_source("overlay_armature_sphere_solid_vert.glsl") .fragment_source("overlay_armature_sphere_solid_frag.glsl") .additional_info("overlay_frag_output" |
do_static_compilation | ( | true | ) |
fragment_out | ( | 0 | , |
Type::VEC4 | , | ||
"fragColor" | |||
) |
flat (Type::VEC4, "finalColor") .flat(Type push_constant | ( | Type::FLOAT | , |
"alpha" | |||
) |
vertex_in | ( | 0 | , |
Type::VEC2 | , | ||
"pos" | |||
) |
pos vertex_in | ( | 1 | , |
Type::MAT4 | , | ||
"inst_obmat" | |||
) |
no_perspective (Type::FLOAT, "colorFac") .flat(Type pos vertex_in | ( | 1 | , |
Type::UINT | , | ||
"flag" | |||
) |
pos0 vertex_in | ( | 1 | , |
Type::VEC2 | , | ||
"pos1" | |||
) |
color vertex_in | ( | 2 | , |
Type::MAT4 | , | ||
"inst_obmat" | |||
) |
no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart vertex_in | ( | 3 | , |
Type::VEC3 | , | ||
"boneEnd" | |||
) |
flat (Type::VEC3, "finalStateColor") .flat(Type pos tailSphere vertex_in | ( | 3 | , |
Type::VEC3 | , | ||
"xAxis" | |||
) |
pos0 pos2 vertex_in | ( | 3 | , |
Type::VEC4 | , | ||
"headSphere" | |||
) |
no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor vertex_in | ( | 5 | , |
Type::VEC4 | , | ||
"boneColor" | |||
) |
pos0 pos2 tailSphere vertex_in | ( | 5 | , |
Type::VEC4 | , | ||
"outlineColorSize" | |||
) |
no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor headColor vertex_in | ( | 7 | , |
Type::VEC4 | , | ||
"tailColor" | |||
) |
flat (Type::VEC3, "finalStateColor") .flat(Type pos inst_obmat vertex_out | ( | overlay_armature_sphere_solid_iface | ) |
no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor headColor wireColor a vertex_out | ( | overlay_armature_stick_iface | ) |
pos0 pos2 tailSphere xAxis vertex_out | ( | overlay_armature_wire_iface | ) |
color draw_globals |
Definition at line 30 of file overlay_armature_info.hh.
Definition at line 34 of file overlay_armature_info.hh.
lineOutput |
Definition at line 7 of file overlay_armature_info.hh.
color overlay_armature_common |
Definition at line 30 of file overlay_armature_info.hh.