Blender V5.0
blender::draw::GreasePencilStrokeVert Struct Reference

Public Attributes

float pos [3]
float radius
int32_t mat
int32_t stroke_id
int32_t point_id
int32_t packed_asp_hard_rot
float uv_fill [2]
float u_stroke
float opacity

Detailed Description

Definition at line 102 of file draw_cache_impl_grease_pencil.cc.

Member Data Documentation

◆ mat

int32_t blender::draw::GreasePencilStrokeVert::mat

Material Index, Stroke Index, Point Index, Packed aspect + hardness + rotation.

Definition at line 106 of file draw_cache_impl_grease_pencil.cc.

◆ opacity

float blender::draw::GreasePencilStrokeVert::opacity

Definition at line 108 of file draw_cache_impl_grease_pencil.cc.

◆ packed_asp_hard_rot

int32_t blender::draw::GreasePencilStrokeVert::packed_asp_hard_rot

Definition at line 106 of file draw_cache_impl_grease_pencil.cc.

◆ point_id

int32_t blender::draw::GreasePencilStrokeVert::point_id

Definition at line 106 of file draw_cache_impl_grease_pencil.cc.

◆ pos

float blender::draw::GreasePencilStrokeVert::pos[3]

Position and radius packed in the same attribute.

Definition at line 104 of file draw_cache_impl_grease_pencil.cc.

◆ radius

float blender::draw::GreasePencilStrokeVert::radius

Definition at line 104 of file draw_cache_impl_grease_pencil.cc.

◆ stroke_id

int32_t blender::draw::GreasePencilStrokeVert::stroke_id

Definition at line 106 of file draw_cache_impl_grease_pencil.cc.

◆ u_stroke

float blender::draw::GreasePencilStrokeVert::u_stroke

Definition at line 108 of file draw_cache_impl_grease_pencil.cc.

◆ uv_fill

float blender::draw::GreasePencilStrokeVert::uv_fill[2]

UV and opacity packed in the same attribute.

Definition at line 108 of file draw_cache_impl_grease_pencil.cc.


The documentation for this struct was generated from the following file: