|
Blender V5.0
|
#include <overlay_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 1152 of file overlay_private.hh.
|
inline |
Definition at line 1155 of file overlay_private.hh.
References name, and blender::draw::overlay::VertexPrimitiveBuf::VertexPrimitiveBuf().
|
inline |
Definition at line 1160 of file overlay_private.hh.
References blender::draw::overlay::VertexPrimitiveBuf::append(), blender::draw::overlay::VertexPrimitiveBuf::select_buf, and blender::draw::select::SelectMap::select_invalid_id().
Referenced by append(), bone_draw_wire(), and drw_shgroup_bone_relationship_lines_ex().
|
inline |
Definition at line 1170 of file overlay_private.hh.
References append(), blender::draw::overlay::VertexPrimitiveBuf::color_id, and blender::draw::select::SelectMap::select_invalid_id().
|
inline |
Definition at line 1179 of file overlay_private.hh.
References blender::draw::overlay::VertexPrimitiveBuf::end_sync(), and GPU_PRIM_LINES.