Blender V4.5
blender::draw::overlay::ShapeInstanceBuf< InstanceDataT > Struct Template Reference

#include <overlay_private.hh>

Inherits blender::draw::select::SelectBuf.

Public Member Functions

 ShapeInstanceBuf (const SelectionType selection_type, const char *name=nullptr)
void clear ()
void append (const InstanceDataT &data, select::ID select_id)
void end_sync (PassSimple::Sub &pass, gpu::Batch *shape)
void end_sync (PassSimple::Sub &pass, gpu::Batch *shape, GPUPrimType primitive_type, uint primitive_len)

Public Attributes

StorageVectorBuffer< InstanceDataT > data_buf

Detailed Description

template<typename InstanceDataT>
struct blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >

Buffer containing instances of a certain shape.

Definition at line 1085 of file overlay_private.hh.

Constructor & Destructor Documentation

◆ ShapeInstanceBuf()

template<typename InstanceDataT>
blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::ShapeInstanceBuf ( const SelectionType selection_type,
const char * name = nullptr )
inline

Definition at line 1089 of file overlay_private.hh.

Member Function Documentation

◆ append()

◆ clear()

template<typename InstanceDataT>
void blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::clear ( )
inline

Definition at line 1092 of file overlay_private.hh.

◆ end_sync() [1/2]

template<typename InstanceDataT>
void blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::end_sync ( PassSimple::Sub & pass,
gpu::Batch * shape )
inline

Definition at line 1104 of file overlay_private.hh.

◆ end_sync() [2/2]

template<typename InstanceDataT>
void blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::end_sync ( PassSimple::Sub & pass,
gpu::Batch * shape,
GPUPrimType primitive_type,
uint primitive_len )
inline

Definition at line 1115 of file overlay_private.hh.

Member Data Documentation

◆ data_buf

template<typename InstanceDataT>
StorageVectorBuffer<InstanceDataT> blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::data_buf

Definition at line 1087 of file overlay_private.hh.


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