Blender  V3.3
Functions | Variables
overlay_armature_info.hh File Reference
#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"
 

Function Documentation

◆ depth_write()

smooth (Type::VEC4, "finalColor") .flat(Type pos inst_obmat depth_write ( DepthWrite::GREATER  )

◆ do_static_compilation()

do_static_compilation ( true  )

◆ fragment_out()

fragment_out ( ,
Type::VEC4  ,
"fragColor"   
)

◆ push_constant()

flat (Type::VEC4, "finalColor") .flat(Type push_constant ( Type::FLOAT  ,
"alpha"   
)

◆ vertex_in() [1/15]

vertex_in ( ,
Type::VEC2  ,
"pos"   
)

◆ vertex_in() [2/15]

pos vertex_in ( ,
Type::MAT4  ,
"inst_obmat"   
)

◆ vertex_in() [3/15]

no_perspective (Type::FLOAT, "colorFac") .flat(Type pos vertex_in ( ,
Type::UINT  ,
"flag"   
)

◆ vertex_in() [4/15]

pos0 vertex_in ( ,
Type::VEC2  ,
"pos1"   
)

◆ vertex_in() [5/15]

smooth (Type::VEC4, "finalColor") .flat(Type pos vertex_in ( ,
Type::VEC3  ,
"nor"   
)

◆ vertex_in() [6/15]

smooth (Type::VEC4, "pPos") .smooth(Type pos vertex_in ( ,
Type::VEC3  ,
"snor"   
)

◆ vertex_in() [7/15]

flat (Type::VEC3, "finalStateColor") .flat(Type pos vertex_in ( ,
Type::VEC4  ,
"color"   
)

◆ vertex_in() [8/15]

flat (Type::VEC3, "finalStateColor") .flat(Type pos vertex_in ( ,
Type::VEC4  ,
"headSphere"   
)

◆ vertex_in() [9/15]

color vertex_in ( ,
Type::MAT4  ,
"inst_obmat"   
)

◆ vertex_in() [10/15]

no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart vertex_in ( ,
Type::VEC3  ,
"boneEnd"   
)

◆ vertex_in() [11/15]

flat (Type::VEC3, "finalStateColor") .flat(Type pos tailSphere vertex_in ( ,
Type::VEC3  ,
"xAxis"   
)

◆ vertex_in() [12/15]

pos0 pos2 vertex_in ( ,
Type::VEC4  ,
"headSphere"   
)

◆ vertex_in() [13/15]

no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor vertex_in ( ,
Type::VEC4  ,
"boneColor"   
)

◆ vertex_in() [14/15]

pos0 pos2 tailSphere vertex_in ( ,
Type::VEC4  ,
"outlineColorSize"   
)

◆ vertex_in() [15/15]

no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor headColor vertex_in ( ,
Type::VEC4  ,
"tailColor"   
)

◆ vertex_out() [1/3]

flat (Type::VEC3, "finalStateColor") .flat(Type pos inst_obmat vertex_out ( overlay_armature_sphere_solid_iface  )

◆ vertex_out() [2/3]

no_perspective (Type::FLOAT, "colorFac") .flat(Type pos boneStart wireColor headColor wireColor a vertex_out ( overlay_armature_stick_iface  )

◆ vertex_out() [3/3]

pos0 pos2 tailSphere xAxis vertex_out ( overlay_armature_wire_iface  )

Variable Documentation

◆ draw_globals

color draw_globals

Definition at line 30 of file overlay_armature_info.hh.

◆ drw_clipped

pos vertex_in (1, Type::VEC4, "color") .push_constant(Type drw_clipped

Definition at line 34 of file overlay_armature_info.hh.

◆ lineOutput

lineOutput

Definition at line 7 of file overlay_armature_info.hh.

◆ overlay_armature_common

color overlay_armature_common

Definition at line 30 of file overlay_armature_info.hh.