|
Blender V4.3
|
#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 73 of file GPU_vertex_format.hh.
| uint GPUVertFormat::attr_len |
0 to 16 (GPU_VERT_ATTR_MAX_LEN).
Definition at line 75 of file GPU_vertex_format.hh.
Referenced by blender::draw::curve_create_edit_data_and_handles(), DRW_shgroup_call_buffer(), DRW_shgroup_call_buffer_instance(), blender::draw::edit_points_vert_format_get(), blender::gpu::MTLImmediate::end(), blender::draw::extract_positions_subdiv(), blender::draw::grease_pencil_edit_batch_ensure(), blender::draw::grease_pencil_weight_batch_ensure(), immBindShader(), and immEndVertex().
| GPUVertAttr GPUVertFormat::attrs[GPU_VERT_ATTR_MAX_LEN] |
Definition at line 87 of file GPU_vertex_format.hh.
Referenced by blender::gpu::MTLImmediate::end(), 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 85 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 77 of file GPU_vertex_format.hh.
| uint GPUVertFormat::name_offset |
Current offset in names[].
Definition at line 83 of file GPU_vertex_format.hh.
| char GPUVertFormat::names[GPU_VERT_ATTR_NAMES_BUF_LEN] |
Definition at line 88 of file GPU_vertex_format.hh.
| uint GPUVertFormat::packed |
Has the format been packed.
Definition at line 81 of file GPU_vertex_format.hh.
Referenced by immBindShader(), blender::gpu::VertBuf::init(), and blender::gpu::VertBuf::size_alloc_get().
| uint GPUVertFormat::stride |
Stride in bytes, 1 to 1024.
Definition at line 79 of file GPU_vertex_format.hh.
Referenced by blender::gpu::GLImmediate::begin(), bind_attribute_as_ssbo(), blender::gpu::VertexFormatConverter::convert(), blender::gpu::GLImmediate::end(), blender::gpu::MTLImmediate::end(), immEndVertex(), blender::gpu::VertBuf::size_alloc_get(), and blender::gpu::VertBuf::size_used_get().