Blender V4.3
blender::draw::select::SelectBuf Struct Reference

#include <select_instance.hh>

Inherited by blender::draw::overlay::ShapeInstanceBuf< BoneInstanceData > [private], blender::draw::overlay::ShapeInstanceBuf< BoneEnvelopeData > [private], blender::draw::overlay::ShapeInstanceBuf< BoneStickData > [private], blender::draw::overlay::ShapeInstanceBuf< ExtraInstanceData > [private], blender::draw::overlay::ShapeInstanceBuf< float4 > [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_tselect_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

Definition at line 59 of file select_instance.hh.

Member Function Documentation

◆ select_append()

◆ select_bind()

◆ select_clear()

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

Definition at line 55 of file select_instance.hh.

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


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