Blender V4.3
GPUVertFormat Struct Reference

#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]
 

Detailed Description

Definition at line 73 of file GPU_vertex_format.hh.

Member Data Documentation

◆ attr_len

◆ attrs

◆ deinterleaved

uint GPUVertFormat::deinterleaved

Store each attribute in one contiguous buffer region.

Definition at line 85 of file GPU_vertex_format.hh.

◆ name_len

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.

◆ name_offset

uint GPUVertFormat::name_offset

Current offset in names[].

Definition at line 83 of file GPU_vertex_format.hh.

◆ names

char GPUVertFormat::names[GPU_VERT_ATTR_NAMES_BUF_LEN]

Definition at line 88 of file GPU_vertex_format.hh.

◆ packed

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().

◆ stride


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