Blender  V3.3
Public Attributes | List of all members
GPUVertFormat Struct Reference

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

Detailed Description

Definition at line 72 of file GPU_vertex_format.h.

Member Data Documentation

◆ attr_len

uint GPUVertFormat::attr_len

◆ attrs

GPUVertAttr GPUVertFormat::attrs[GPU_VERT_ATTR_MAX_LEN]

◆ deinterleaved

uint GPUVertFormat::deinterleaved

Store each attribute in one contiguous buffer region.

Definition at line 84 of file GPU_vertex_format.h.

◆ name_len

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.

◆ name_offset

uint GPUVertFormat::name_offset

Current offset in names[].

Definition at line 82 of file GPU_vertex_format.h.

◆ names

char GPUVertFormat::names[GPU_VERT_ATTR_NAMES_BUF_LEN]

Definition at line 87 of file GPU_vertex_format.h.

◆ packed

uint GPUVertFormat::packed

Has the format been packed.

Definition at line 80 of file GPU_vertex_format.h.

Referenced by immBindShader().

◆ stride

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


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