Blender V4.3
blender::draw::overlay::PointPrimitiveBuf Struct Reference

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

Constructor & Destructor Documentation

◆ PointPrimitiveBuf()

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

Definition at line 602 of file overlay_next_private.hh.

Member Function Documentation

◆ append() [1/2]

◆ 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: