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

#include <overlay_next_private.hh>

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

Public Member Functions

 LinePrimitiveBuf (const SelectionType selection_type, const char *name=nullptr)
 
void append (const float3 &start, const float3 &end, const float4 &color, select::ID select_id=select::SelectMap::select_invalid_id())
 
void append (const float3 &start, const float3 &end, const int color_id, select::ID select_id=select::SelectMap::select_invalid_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 627 of file overlay_next_private.hh.

Constructor & Destructor Documentation

◆ LinePrimitiveBuf()

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

Definition at line 630 of file overlay_next_private.hh.

Member Function Documentation

◆ append() [1/2]

◆ append() [2/2]

void blender::draw::overlay::LinePrimitiveBuf::append ( const float3 & start,
const float3 & end,
const int color_id,
select::ID select_id = select::SelectMap::select_invalid_id() )
inline

◆ end_sync()


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