|
Blender V4.3
|
#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< VertexData > | data_buf |
| int | color_id = 0 |
Definition at line 627 of file overlay_next_private.hh.
|
inline |
Definition at line 630 of file overlay_next_private.hh.
|
inline |
Definition at line 635 of file overlay_next_private.hh.
References blender::draw::overlay::VertexPrimitiveBuf::append(), blender::draw::select::SelectBuf::select_append(), and blender::draw::overlay::VertexPrimitiveBuf::select_buf.
Referenced by ArmatureBoneDrawStrategyWire::draw_bone(), drw_shgroup_bone_relationship_lines_ex(), and blender::draw::overlay::Relations::object_sync().
|
inline |
Definition at line 645 of file overlay_next_private.hh.
References append, and blender::draw::overlay::VertexPrimitiveBuf::color_id.
|
inline |
Definition at line 654 of file overlay_next_private.hh.
References blender::draw::overlay::VertexPrimitiveBuf::end_sync(), and GPU_PRIM_LINES.
Referenced by blender::draw::overlay::Cameras::end_sync(), blender::draw::overlay::EditText::end_sync(), and blender::draw::overlay::Relations::end_sync().