Blender V5.0
blender::draw::command::DrawPrototype Struct Reference

#include <draw_command_shared.hh>

Public Attributes

uint group_id
uint res_index
uint custom_id
uint instance_len

Detailed Description

Representation of a future draw call inside a DrawGroup. This DrawPrototype is then converted into DrawCommand on GPU after visibility and compaction. Multiple DrawPrototype might get merged into the same final DrawCommand.

Definition at line 90 of file draw_command_shared.hh.

Member Data Documentation

◆ custom_id

uint blender::draw::command::DrawPrototype::custom_id

Definition at line 96 of file draw_command_shared.hh.

◆ group_id

uint blender::draw::command::DrawPrototype::group_id

Definition at line 92 of file draw_command_shared.hh.

◆ instance_len

uint blender::draw::command::DrawPrototype::instance_len

Definition at line 98 of file draw_command_shared.hh.

◆ res_index

uint blender::draw::command::DrawPrototype::res_index

Definition at line 94 of file draw_command_shared.hh.


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