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

#include <overlay_next_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 518 of file overlay_next_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 522 of file overlay_next_private.hh.

References select().

Member Function Documentation

◆ append()

◆ clear()

◆ end_sync() [1/2]

◆ end_sync() [2/2]

Member Data Documentation

◆ data_buf


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