|
Blender V5.0
|
Simple API to draw debug shapes in the viewport. More...
#include "BKE_object.hh"#include "BLI_math_bits.h"#include "BLI_math_matrix.h"#include "BLI_math_matrix.hh"#include "GPU_batch.hh"#include "GPU_debug.hh"#include "draw_context_private.hh"#include "draw_debug.hh"#include "draw_shader.hh"#include "draw_shader_shared.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::draw |
Functions | |
Init and state | |
| void | blender::draw::drw_debug_clear () |
Draw functions | |
| void | blender::draw::drw_debug_line (const float3 v1, const float3 v2, const float4 color, const uint lifetime) |
| void | blender::draw::drw_debug_polygon (Span< float3 > face_verts, const float4 color, const uint lifetime) |
| void | blender::draw::drw_debug_bbox (const BoundBox &bbox, const float4 color, const uint lifetime) |
| static Vector< float3 > | blender::draw::precompute_sphere_points (int circle_resolution) |
| void | blender::draw::drw_debug_sphere (const float3 center, float radius, const float4 color, const uint lifetime) |
| void | blender::draw::drw_debug_point (const float3 pos, float rad, const float4 col, const uint lifetime) |
| void | blender::draw::drw_debug_matrix (const float4x4 &m4, const uint lifetime) |
| void | blender::draw::drw_debug_matrix_as_bbox (const float4x4 &mat, const float4 color, const uint lifetime) |
Simple API to draw debug shapes in the viewport.
Definition in file draw_debug.cc.