|
Blender V5.3
|
Typedefs | |
| using | SelectionType = select::SelectionType |
| using | StaticShader = gpu::StaticShader |
Enumerations | |
| enum | eArmatureDrawMode { ARM_DRAW_MODE_OBJECT , ARM_DRAW_MODE_POSE , ARM_DRAW_MODE_EDIT } |
Functions | |
| static bool | is_from_dupli_or_set (const Object *ob) |
| static bool | is_from_dupli_or_set (const ObjectRef &ob_ref) |
| static void | append_line_loop (Vector< Vertex > &dest, Span< float2 > verts, float z, VertexClass flag, bool dashed=false) |
| static float | light_distance_z_get (char axis, const bool start) |
| static Vector< float2 > | ring_vertices (const float radius, const int segments, const bool half=false) |
| static Vector< Vertex > | sphere_axes_circles (const float radius, const VertexClass vclass, const int segments) |
| static void | light_append_direction_line (const char axis, Span< float2 > diamond, Vector< Vertex > &verts) |
| static void | light_append_direction_line (Vector< Vertex > &verts) |
| static VertShaded | sphere_lat_lon_vert (const float2 &lat_pt, const float2 &lon_pt) |
| static void | append_sphere (Vector< VertShaded > &dest, const eDRWLevelOfDetail level_of_detail) |
Variables | |
| constexpr int | overlay_edit_text |
| static constexpr int | diamond_nsegments = 4 |
| static constexpr int | inner_nsegments = 8 |
| static constexpr int | outer_nsegments = 10 |
| static constexpr int | circle_nsegments = 32 |
| static constexpr float | bone_box_verts [8][3] |
| static constexpr std::array< uint, 24 > | bone_box_wire_lines |
| static const std::array< uint3, 12 > | bone_box_solid_tris |
| static const std::array< uint4, 12 > | bone_box_wire_lines_adjacency |
| static const std::array< float3, 12 > | bone_box_solid_normals |
| static const std::array< float3, 6 > | bone_octahedral_verts |
| static const std::array< uint2, 12 > | bone_octahedral_wire_lines |
| static const std::array< uint3, 8 > | bone_octahedral_solid_tris |
| static const std::array< uint4, 12 > | bone_octahedral_wire_lines_adjacency |
| static const float | bone_octahedral_solid_normals [8][3] |
Definition at line 120 of file overlay_private.hh.
Definition at line 427 of file overlay_private.hh.
| Enumerator | |
|---|---|
| ARM_DRAW_MODE_OBJECT | |
| ARM_DRAW_MODE_POSE | |
| ARM_DRAW_MODE_EDIT | |
Definition at line 21 of file overlay_armature.hh.
|
static |
Definition at line 171 of file overlay_shape.cc.
References append_line_loop(), blender::gpu::shader::metadata::float2, blender::IndexRange::IndexRange(), blender::Span< T >::size(), step, and z().
Referenced by append_line_loop(), light_append_direction_line(), and blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 269 of file overlay_shape.cc.
References append_sphere(), blender::BLI_assert(), blender::draw::DRW_LOD_LOW, blender::draw::DRW_LOD_MAX, blender::gpu::shader::metadata::float2, blender::IndexRange::IndexRange(), ring_vertices(), lexit::Vector< T >::size(), and sphere_lat_lon_vert().
Referenced by append_sphere(), and blender::draw::overlay::ShapeCache::ShapeCache().
|
inlinestatic |
Definition at line 1220 of file overlay_private.hh.
References blender::Object::base_flag, blender::BASE_FROM_DUPLI, blender::BASE_FROM_SET, and is_from_dupli_or_set().
Referenced by is_from_dupli_or_set(), and is_from_dupli_or_set().
|
inlinestatic |
Definition at line 1227 of file overlay_private.hh.
References is_from_dupli_or_set(), and blender::draw::ObjectRef::object.
|
static |
Definition at line 243 of file overlay_shape.cc.
References append_line_loop(), light_append_direction_line(), light_distance_z_get(), VCLASS_LIGHT_DIST, and VCLASS_SCREENSPACE.
Referenced by light_append_direction_line(), light_append_direction_line(), and blender::draw::overlay::ShapeCache::ShapeCache().
Definition at line 255 of file overlay_shape.cc.
References diamond_nsegments, light_append_direction_line(), and ring_vertices().
|
static |
Definition at line 183 of file overlay_shape.cc.
References light_distance_z_get().
Referenced by light_append_direction_line(), and light_distance_z_get().
|
static |
Definition at line 203 of file overlay_shape.cc.
References angle(), blender::math::cos(), blender::gpu::shader::metadata::float2, blender::IndexRange::IndexRange(), ring_vertices(), and blender::math::sin().
Referenced by append_sphere(), light_append_direction_line(), ring_vertices(), blender::draw::overlay::ShapeCache::ShapeCache(), and sphere_axes_circles().
|
static |
Definition at line 217 of file overlay_shape.cc.
References blender::gpu::shader::metadata::float2, blender::IndexRange::IndexRange(), ring_vertices(), and sphere_axes_circles().
Referenced by blender::draw::overlay::ShapeCache::ShapeCache(), and sphere_axes_circles().
|
static |
Definition at line 261 of file overlay_shape.cc.
References blender::gpu::shader::metadata::float2, sphere_lat_lon_vert(), VCLASS_EMPTY_SCALED, blender::x, y, and z().
Referenced by append_sphere(), and sphere_lat_lon_vert().
|
static |
Definition at line 76 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 36 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 21 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 32 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Store indices of generated verts from bone_box_solid_tris to define adjacency information. See bone_octahedral_solid_tris for more information.
Definition at line 60 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 160 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 120 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 96 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 105 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Store indices of generated verts from bone_octahedral_solid_tris to define adjacency information. Example: triangle {2, 1, 0} is adjacent to {3, 2, 0}, {1, 4, 0} and {5, 1, 2}. {2, 1, 0} becomes {0, 1, 2} {3, 2, 0} becomes {3, 4, 5} {1, 4, 0} becomes {9, 10, 11} {5, 1, 2} becomes {12, 13, 14} According to opengl specification it becomes (starting from the first vertex of the first face aka. vertex 2): {0, 12, 1, 10, 2, 3}
Definition at line 144 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 19 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 16 of file overlay_shape.cc.
Referenced by light_append_direction_line(), and blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 17 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 18 of file overlay_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
constexpr |
Definition at line 40 of file overlay_mesh.hh.
Referenced by blender::draw::overlay::Meshes::edit_object_sync().