Blender V5.0
blender::draw::select::SelectBuf Struct Reference

#include <select_instance.hh>

Inherited by blender::draw::overlay::ShapeInstanceBuf< ExtraInstanceData > [private], blender::draw::overlay::ShapeInstanceBuf< BoneInstanceData > [private], blender::draw::overlay::ShapeInstanceBuf< BoneEnvelopeData > [private], blender::draw::overlay::ShapeInstanceBuf< BoneStickData > [private], blender::draw::overlay::ShapeInstanceBuf< float4 > [private], blender::draw::overlay::ShapeInstanceBuf< float4x4 > [private], and blender::draw::overlay::ShapeInstanceBuf< InstanceDataT > [private].

Public Member Functions

 SelectBuf (const SelectionType selection_type)
void select_clear ()
void select_append (ID select_id)
void select_bind (PassSimple::Sub &pass)

Public Attributes

const SelectionType selection_type
StorageVectorBuffer< uint32_t > select_buf = {"select_buf"}

Detailed Description

Add a dedicated selection id buffer to a pass. To be used when not using a PassMain which can pass the select ID via CustomID.

Definition at line 54 of file select_instance.hh.

Constructor & Destructor Documentation

◆ SelectBuf()

blender::draw::select::SelectBuf::SelectBuf ( const SelectionType selection_type)
inline

Member Function Documentation

◆ select_append()

void blender::draw::select::SelectBuf::select_append ( ID select_id)
inline

◆ select_bind()

◆ select_clear()

void blender::draw::select::SelectBuf::select_clear ( )
inline

Member Data Documentation

◆ select_buf

StorageVectorBuffer<uint32_t> blender::draw::select::SelectBuf::select_buf = {"select_buf"}

Definition at line 57 of file select_instance.hh.

Referenced by select_append(), select_bind(), and select_clear().

◆ selection_type

const SelectionType blender::draw::select::SelectBuf::selection_type

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