|
Blender V4.3
|
#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_t > | select_buf = {"select_buf"} |
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.
|
inline |
Definition at line 59 of file select_instance.hh.
|
inline |
Definition at line 68 of file select_instance.hh.
References blender::draw::StorageVectorBuffer< T, len >::append(), blender::draw::select::DISABLED, blender::draw::select::ID::get(), select_buf, and selection_type.
Referenced by blender::draw::overlay::LinePrimitiveBuf::append(), blender::draw::overlay::PointPrimitiveBuf::append(), and blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::append().
|
inline |
Definition at line 75 of file select_instance.hh.
References blender::draw::select::DISABLED, blender::draw::detail::StorageCommon< T, len, device_only >::push_update(), select_buf, SELECT_ID_IN, and selection_type.
Referenced by blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::end_sync(), blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::end_sync(), and blender::draw::overlay::VertexPrimitiveBuf::end_sync().
|
inline |
Definition at line 61 of file select_instance.hh.
References blender::draw::StorageVectorBuffer< T, len >::clear(), blender::draw::select::DISABLED, select_buf, and selection_type.
Referenced by blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::clear(), and blender::draw::overlay::VertexPrimitiveBuf::clear().
| 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().
| 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().