Blender
V3.3
|
#include <GPU_vertex_format.h>
Public Attributes | |
uint | attr_len: 5 |
uint | name_len: 6 |
uint | stride: 11 |
uint | packed: 1 |
uint | name_offset: 8 |
uint | deinterleaved: 1 |
GPUVertAttr | attrs [GPU_VERT_ATTR_MAX_LEN] |
char | names [GPU_VERT_ATTR_NAMES_BUF_LEN] |
Definition at line 72 of file GPU_vertex_format.h.
uint GPUVertFormat::attr_len |
0 to 16 (GPU_VERT_ATTR_MAX_LEN).
Definition at line 74 of file GPU_vertex_format.h.
Referenced by curve_create_edit_data_and_handles(), DRW_shgroup_call_buffer(), DRW_shgroup_call_buffer_instance(), edit_points_vert_format_get(), GPU_pbvh_attribute_names_update(), immBindShader(), and immEndVertex().
GPUVertAttr GPUVertFormat::attrs[GPU_VERT_ATTR_MAX_LEN] |
Definition at line 86 of file GPU_vertex_format.h.
Referenced by immAttr1f(), immAttr1u(), immAttr2f(), immAttr2i(), immAttr2s(), immAttr3f(), immAttr3ub(), immAttr4f(), immAttr4ub(), immEndVertex(), and pygpu_vertbuf_fill_impl().
uint GPUVertFormat::deinterleaved |
Store each attribute in one contiguous buffer region.
Definition at line 84 of file GPU_vertex_format.h.
uint GPUVertFormat::name_len |
Total count of active vertex attribute names. (max GPU_VERT_FORMAT_MAX_NAMES)
Definition at line 76 of file GPU_vertex_format.h.
uint GPUVertFormat::name_offset |
Current offset in names[].
Definition at line 82 of file GPU_vertex_format.h.
char GPUVertFormat::names[GPU_VERT_ATTR_NAMES_BUF_LEN] |
Definition at line 87 of file GPU_vertex_format.h.
uint GPUVertFormat::packed |
Has the format been packed.
Definition at line 80 of file GPU_vertex_format.h.
Referenced by immBindShader().
uint GPUVertFormat::stride |
Stride in bytes, 1 to 1024.
Definition at line 78 of file GPU_vertex_format.h.
Referenced by blender::gpu::GLImmediate::begin(), blender::gpu::GLImmediate::end(), and immEndVertex().