|
Blender V5.3
|
#include <gpu_shader_annotation.bsl.hh>
Public Member Functions | |
| float2 | to_screen_space (float4 vert) const |
| GreasePencilStrokeData | input_assembly (uint in_vertex_id) const |
| VertOut | vertex_main (GreasePencilStrokeData vert_in) const |
| void | strip_emit_vertex (GeomOut &selected_vert, const uint strip_index, uint out_vertex_id, uint out_primitive_id, GeomOut geom_out) const |
| void | geometry_main (GeomOut &selected_vert, VertOut geom_in[4], uint out_vertex_id, uint out_primitive_id) const |
Public Attributes | |
| const GreasePencilStrokeData(& | gp_vert_data )[] |
| const GPencilStrokeData | gpencil_stroke_data |
| float4x4 | ModelViewProjectionMatrix |
| float4x4 | ProjectionMatrix |
Definition at line 46 of file gpu_shader_annotation.bsl.hh.
|
inline |
Definition at line 96 of file gpu_shader_annotation.bsl.hh.
References GPencilStrokeData::caps_end, GPencilStrokeData::caps_start, dot(), GPencilStrokeData::fill_stroke, builtin::annotation::GeomOut::final_color, builtin::annotation::VertOut::final_color, builtin::annotation::VertOut::final_thickness, builtin::annotation::get_Z_depth(), GPENCIL_FLATCAP, gpencil_stroke_data, builtin::annotation::GeomOut::gpu_position, builtin::annotation::VertOut::gpu_position, builtin::annotation::is_equal(), NAN_FLT, normalize, strip_emit_vertex(), builtin::annotation::GeomOut::tex_coord, to_screen_space(), GPencilStrokeData::viewport, float2::x, and float2::y.
|
inline |
Definition at line 59 of file gpu_shader_annotation.bsl.hh.
References gp_vert_data.
|
inline |
Definition at line 80 of file gpu_shader_annotation.bsl.hh.
Referenced by geometry_main().
Definition at line 54 of file gpu_shader_annotation.bsl.hh.
References gpencil_stroke_data, and GPencilStrokeData::viewport.
Referenced by geometry_main().
|
inline |
Definition at line 65 of file gpu_shader_annotation.bsl.hh.
References builtin::annotation::VertOut::final_color, builtin::annotation::VertOut::final_thickness, gpencil_stroke_data, builtin::annotation::VertOut::gpu_position, max, ModelViewProjectionMatrix, GPencilStrokeData::objscale, GPencilStrokeData::pixsize, GreasePencilStrokeData::position, ProjectionMatrix, GreasePencilStrokeData::stroke_color, GreasePencilStrokeData::stroke_thickness, and float4::z.
| const GreasePencilStrokeData(& builtin::annotation::Resources::gp_vert_data)[] |
Definition at line 47 of file gpu_shader_annotation.bsl.hh.
Referenced by input_assembly().
| const GPencilStrokeData builtin::annotation::Resources::gpencil_stroke_data |
Definition at line 48 of file gpu_shader_annotation.bsl.hh.
Referenced by geometry_main(), to_screen_space(), and vertex_main().
| float4x4 builtin::annotation::Resources::ModelViewProjectionMatrix |
Definition at line 50 of file gpu_shader_annotation.bsl.hh.
Referenced by vertex_main().
| float4x4 builtin::annotation::Resources::ProjectionMatrix |
Definition at line 51 of file gpu_shader_annotation.bsl.hh.
Referenced by vertex_main().