Blender V5.0
DrawCommand Struct Reference

#include <draw_shader_shared.hh>

Inherited by blender::draw::StorageBuffer< DrawCommand, true >, and blender::draw::StorageBuffer< DrawCommand >.

Public Attributes

uint vertex_len
uint instance_len
uint vertex_first
union { 
   uint   base_index 
   uint   instance_first_array 
}; 
uint instance_first_indexed
uint _pad0
uint _pad1
uint _pad2

Detailed Description

Definition at line 307 of file draw_shader_shared.hh.

Member Data Documentation

◆ [union]

union { ... } DrawCommand

◆ _pad0

uint DrawCommand::_pad0

Definition at line 326 of file draw_shader_shared.hh.

◆ _pad1

uint DrawCommand::_pad1

Definition at line 326 of file draw_shader_shared.hh.

◆ _pad2

uint DrawCommand::_pad2

Definition at line 326 of file draw_shader_shared.hh.

◆ base_index

uint DrawCommand::base_index

Definition at line 318 of file draw_shader_shared.hh.

◆ instance_first_array

uint DrawCommand::instance_first_array

Definition at line 320 of file draw_shader_shared.hh.

◆ instance_first_indexed

uint DrawCommand::instance_first_indexed

Definition at line 324 of file draw_shader_shared.hh.

◆ instance_len

uint DrawCommand::instance_len

Definition at line 310 of file draw_shader_shared.hh.

◆ vertex_first

uint DrawCommand::vertex_first

Definition at line 311 of file draw_shader_shared.hh.

◆ vertex_len

uint DrawCommand::vertex_len

Definition at line 309 of file draw_shader_shared.hh.

Referenced by blender::draw::DebugDraw::draw_line().


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