|
Blender V4.5
|
#include <GPU_vertex_format.hh>
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 176 of file GPU_vertex_format.hh.
| uint GPUVertFormat::attr_len |
0 to 16 (GPU_VERT_ATTR_MAX_LEN).
Definition at line 178 of file GPU_vertex_format.hh.
| GPUVertAttr GPUVertFormat::attrs[GPU_VERT_ATTR_MAX_LEN] |
Definition at line 190 of file GPU_vertex_format.hh.
Referenced by pygpu_vertbuf_fill_impl().
| uint GPUVertFormat::deinterleaved |
Store each attribute in one contiguous buffer region.
Definition at line 188 of file GPU_vertex_format.hh.
| uint GPUVertFormat::name_len |
Total count of active vertex attribute names. (max GPU_VERT_FORMAT_MAX_NAMES)
Definition at line 180 of file GPU_vertex_format.hh.
| uint GPUVertFormat::name_offset |
Current offset in names[].
Definition at line 186 of file GPU_vertex_format.hh.
| char GPUVertFormat::names[GPU_VERT_ATTR_NAMES_BUF_LEN] |
Definition at line 191 of file GPU_vertex_format.hh.
Referenced by blender::eevee::VelocityModule::VelocityGeometryData::pos_buf_get().
| uint GPUVertFormat::packed |
Has the format been packed.
Definition at line 184 of file GPU_vertex_format.hh.
Referenced by blender::gpu::VertBuf::init(), and blender::gpu::VertBuf::size_alloc_get().
| uint GPUVertFormat::stride |
Stride in bytes, 1 to 1024.
Definition at line 182 of file GPU_vertex_format.hh.
Referenced by blender::gpu::VertBuf::size_alloc_get(), and blender::gpu::VertBuf::size_used_get().