Blender V5.0
blender::draw::overlay::PointPrimitiveBuf Struct Reference

#include <overlay_private.hh>

Inherits blender::draw::overlay::VertexPrimitiveBuf.

Public Member Functions

 PointPrimitiveBuf (const SelectionType selection_type, const char *name=nullptr)
void append (const float3 &position, const float4 &color, select::ID select_id=select::SelectMap::select_invalid_id())
void append (const float3 &position, const int color_id, select::ID select_id)
void end_sync (PassSimple::Sub &pass)
Public Member Functions inherited from blender::draw::overlay::VertexPrimitiveBuf
void clear ()

Additional Inherited Members

Protected Member Functions inherited from blender::draw::overlay::VertexPrimitiveBuf
 VertexPrimitiveBuf (const SelectionType selection_type, const char *name=nullptr)
void append (const float3 &position, const float4 &color)
void end_sync (PassSimple::Sub &pass, GPUPrimType primitive)
Protected Attributes inherited from blender::draw::overlay::VertexPrimitiveBuf
select::SelectBuf select_buf
StorageVectorBuffer< VertexDatadata_buf
int color_id = 0

Detailed Description

Definition at line 1124 of file overlay_private.hh.

Constructor & Destructor Documentation

◆ PointPrimitiveBuf()

blender::draw::overlay::PointPrimitiveBuf::PointPrimitiveBuf ( const SelectionType selection_type,
const char * name = nullptr )
inline

Member Function Documentation

◆ append() [1/2]

void blender::draw::overlay::PointPrimitiveBuf::append ( const float3 & position,
const float4 & color,
select::ID select_id = select::SelectMap::select_invalid_id() )
inline

◆ append() [2/2]

void blender::draw::overlay::PointPrimitiveBuf::append ( const float3 & position,
const int color_id,
select::ID select_id )
inline

◆ end_sync()

void blender::draw::overlay::PointPrimitiveBuf::end_sync ( PassSimple::Sub & pass)
inline

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