|
Blender V4.5
|
#include <overlay_private.hh>
Public Member Functions | |
| ShapeCache () | |
Contains all overlay generic geometry batches.
Definition at line 308 of file overlay_private.hh.
| blender::draw::overlay::ShapeCache::ShapeCache | ( | ) |
Definition at line 330 of file overlay_shape.cc.
References abs, angle(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::draw::overlay::append_line_loop(), blender::draw::overlay::append_sphere(), arrows, bone_box, blender::draw::overlay::bone_box_solid_normals, blender::draw::overlay::bone_box_solid_tris, blender::draw::overlay::bone_box_verts, bone_box_wire, blender::draw::overlay::bone_box_wire_lines, blender::draw::overlay::bone_box_wire_lines_adjacency, bone_degrees_of_freedom, bone_degrees_of_freedom_wire, bone_envelope, bone_envelope_wire, blender::draw::overlay::bone_octahedral_solid_normals, blender::draw::overlay::bone_octahedral_solid_tris, blender::draw::overlay::bone_octahedral_verts, blender::draw::overlay::bone_octahedral_wire_lines, blender::draw::overlay::bone_octahedral_wire_lines_adjacency, bone_octahedron, bone_octahedron_wire, bone_sphere, bone_sphere_wire, bone_stick, camera_distances, camera_frame, camera_tria, camera_tria_wire, camera_volume, camera_volume_wire, capsule_body, capsule_cap, circle, blender::draw::overlay::circle_nsegments, COL_BONE, COL_HEAD, COL_TAIL, COL_WIRE, cosf, blender::math::cross(), cube, cube_solid, cursor_circle, cursor_lines, cylinder, blender::draw::overlay::diamond_nsegments, blender::draw::DRW_LOD_LOW, empty_cone, empty_sphere, field_cone_limit, field_curve, field_force, field_sphere_limit, field_tube_limit, field_vortex, field_wind, flag, GPU_batch_create, GPU_batch_create_ex(), GPU_BATCH_OWNS_INDEX, GPU_BATCH_OWNS_VBO, GPU_batch_unit_cube(), GPU_indexbuf_add_line_adj_verts(), GPU_indexbuf_build(), GPU_indexbuf_init(), GPU_PRIM_LINE_STRIP, GPU_PRIM_LINES, GPU_PRIM_LINES_ADJ, GPU_PRIM_TRI_FAN, GPU_PRIM_TRI_STRIP, GPU_PRIM_TRIS, grid, ground_line, i, image_quad, blender::draw::overlay::inner_nsegments, blender::draw::overlay::light_append_direction_line(), light_area_disk_lines, light_area_square_lines, light_icon_inner_lines, light_icon_outer_lines, light_icon_sun_rays, light_point_lines, light_spot_lines, light_spot_volume, light_sun_lines, lightprobe_cube, lightprobe_grid, lightprobe_planar, M_PI, M_PI_2, metaball_wire_circle, blender::draw::overlay::outer_nsegments, blender::math::numbers::pi, plain_axes, blender::draw::overlay::Vertex::pos, POS_BONE, POS_HEAD, POS_TAIL, quad, quad_solid, quad_wire, blender::draw::overlay::ring_vertices(), blender::math::scale(), scaled(), sinf, single_arrow, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), speaker, blender::draw::overlay::sphere_axes_circles(), sphere_low_detail, steps, TH_VIEW_OVERLAY, blender::VecBase< uint32_t, 3 >::type_length, UI_GetThemeColor3fv(), UNUSED_VARS, v, v2, VCLASS_CAMERA_DIST, VCLASS_CAMERA_FRAME, VCLASS_CAMERA_VOLUME, VCLASS_EMPTY_AXES, VCLASS_EMPTY_AXES_NAME, VCLASS_EMPTY_SCALED, VCLASS_EMPTY_SIZE, VCLASS_LIGHT_AREA_SHAPE, VCLASS_LIGHT_SPOT_BLEND, VCLASS_LIGHT_SPOT_CONE, VCLASS_LIGHT_SPOT_SHAPE, VCLASS_NONE, VCLASS_SCREENALIGNED, VCLASS_SCREENSPACE, verts, x, y, and z().
| BatchPtr blender::draw::overlay::ShapeCache::arrows |
Definition at line 349 of file overlay_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_box |
Definition at line 319 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_box_wire |
Definition at line 320 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom |
Definition at line 329 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom_wire |
Definition at line 330 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope |
Definition at line 321 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope_wire |
Definition at line 322 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron |
Definition at line 323 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron_wire |
Definition at line 324 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere |
Definition at line 325 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere_wire |
Definition at line 326 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_stick |
Definition at line 327 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_distances |
Definition at line 354 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_frame |
Definition at line 355 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria |
Definition at line 357 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria_wire |
Definition at line 356 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume |
Definition at line 359 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume_wire |
Definition at line 360 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_body |
Definition at line 347 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_cap |
Definition at line 348 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::circle |
Definition at line 343 of file overlay_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cube |
Definition at line 342 of file overlay_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cube_solid |
Definition at line 333 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cursor_circle |
Definition at line 335 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cursor_lines |
Definition at line 336 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cylinder |
Definition at line 346 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::empty_cone |
Definition at line 345 of file overlay_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::empty_sphere |
Definition at line 344 of file overlay_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_cone_limit |
Definition at line 385 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_curve |
Definition at line 382 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_force |
Definition at line 379 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_sphere_limit |
Definition at line 383 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_tube_limit |
Definition at line 384 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_vortex |
Definition at line 381 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_wind |
Definition at line 380 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::grid |
Definition at line 332 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::ground_line |
Definition at line 364 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::image_quad |
Definition at line 367 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_disk_lines |
Definition at line 375 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_square_lines |
Definition at line 376 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_inner_lines |
Definition at line 370 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_outer_lines |
Definition at line 369 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_sun_rays |
Definition at line 371 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_point_lines |
Definition at line 372 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_lines |
Definition at line 374 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_volume |
Definition at line 377 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_sun_lines |
Definition at line 373 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_cube |
Definition at line 387 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_grid |
Definition at line 389 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_planar |
Definition at line 388 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::metaball_wire_circle |
Definition at line 350 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::plain_axes |
Definition at line 340 of file overlay_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::quad_solid |
Definition at line 339 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::quad_wire |
Definition at line 338 of file overlay_private.hh.
Referenced by blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::single_arrow |
Definition at line 341 of file overlay_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::speaker |
Definition at line 352 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::sphere_low_detail |
Definition at line 362 of file overlay_private.hh.
Referenced by ShapeCache().