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

#include <overlay_next_private.hh>

Inherited by blender::draw::overlay::LinePrimitiveBuf, and blender::draw::overlay::PointPrimitiveBuf.

Public Member Functions

void clear ()
 

Protected Member Functions

 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

select::SelectBuf select_buf
 
StorageVectorBuffer< VertexDatadata_buf
 
int color_id = 0
 

Detailed Description

Definition at line 564 of file overlay_next_private.hh.

Constructor & Destructor Documentation

◆ VertexPrimitiveBuf()

blender::draw::overlay::VertexPrimitiveBuf::VertexPrimitiveBuf ( const SelectionType selection_type,
const char * name = nullptr )
inlineprotected

Definition at line 570 of file overlay_next_private.hh.

Member Function Documentation

◆ append()

void blender::draw::overlay::VertexPrimitiveBuf::append ( const float3 & position,
const float4 & color )
inlineprotected

◆ clear()

◆ end_sync()

Member Data Documentation

◆ color_id

int blender::draw::overlay::VertexPrimitiveBuf::color_id = 0
protected

◆ data_buf

StorageVectorBuffer<VertexData> blender::draw::overlay::VertexPrimitiveBuf::data_buf
protected

Definition at line 567 of file overlay_next_private.hh.

Referenced by append(), clear(), and end_sync().

◆ select_buf

select::SelectBuf blender::draw::overlay::VertexPrimitiveBuf::select_buf
protected

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