|
Blender V5.3
|
#include <overlay_private.hh>
Public Member Functions | |
| ShapeCache () | |
Contains all overlay generic geometry batches.
Definition at line 331 of file overlay_private.hh.
| blender::draw::overlay::ShapeCache::ShapeCache | ( | ) |
Definition at line 315 of file overlay_shape.cc.
References abs, angle(), 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, 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, float, blender::gpu::shader::metadata::float2, blender::gpu::shader::metadata::float3, blender::ui::theme::get_color_3fv(), blender::ui::theme::get_color_blend_shade_3fv(), GPU_batch_create, blender::GPU_batch_create_ex(), blender::GPU_BATCH_OWNS_INDEX, blender::GPU_BATCH_OWNS_VBO, blender::GPU_batch_unit_cube(), blender::GPU_indexbuf_add_line_adj_verts(), blender::GPU_indexbuf_build(), blender::GPU_indexbuf_init(), blender::GPU_PRIM_LINE_STRIP, blender::GPU_PRIM_LINES, blender::GPU_PRIM_LINES_ADJ, blender::GPU_PRIM_TRI_FAN, blender::GPU_PRIM_TRI_STRIP, blender::GPU_PRIM_TRIS, grid, ground_line, image_quad, blender::IndexRange::IndexRange(), 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, plain_axes, POS_BONE, POS_HEAD, POS_TAIL, quad_solid, quad_wire, lexit::Vector< T >::reserve(), blender::draw::overlay::ring_vertices(), scale(), scaled(), sinf, single_arrow, lexit::Vector< T >::size(), speaker, blender::draw::overlay::sphere_axes_circles(), sphere_low_detail, blender::TH_AXIS_X, blender::TH_AXIS_Y, blender::TH_AXIS_Z, blender::TH_VIEW_OVERLAY, blender::TH_WHITE, blender::VecBase< uint32_t, 3 >::type_length, UNUSED_VARS, blender::v, blender::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, vertex, blender::x, y, and z().
| BatchPtr blender::draw::overlay::ShapeCache::arrows |
Definition at line 372 of file overlay_private.hh.
Referenced by blender::drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_box |
Definition at line 342 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_box_wire |
Definition at line 343 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom |
Definition at line 352 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom_wire |
Definition at line 353 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope |
Definition at line 344 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope_wire |
Definition at line 345 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron |
Definition at line 346 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron_wire |
Definition at line 347 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere |
Definition at line 348 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere_wire |
Definition at line 349 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_stick |
Definition at line 350 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_distances |
Definition at line 377 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_frame |
Definition at line 378 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria |
Definition at line 380 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria_wire |
Definition at line 379 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume |
Definition at line 382 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume_wire |
Definition at line 383 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_body |
Definition at line 370 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_cap |
Definition at line 371 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::circle |
Definition at line 366 of file overlay_private.hh.
Referenced by blender::drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cube |
Definition at line 365 of file overlay_private.hh.
Referenced by blender::drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cube_solid |
Definition at line 356 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cursor_circle |
Definition at line 358 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cursor_lines |
Definition at line 359 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cylinder |
Definition at line 369 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::empty_cone |
Definition at line 368 of file overlay_private.hh.
Referenced by blender::drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::empty_sphere |
Definition at line 367 of file overlay_private.hh.
Referenced by blender::drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_cone_limit |
Definition at line 408 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_curve |
Definition at line 405 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_force |
Definition at line 402 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_sphere_limit |
Definition at line 406 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_tube_limit |
Definition at line 407 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_vortex |
Definition at line 404 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_wind |
Definition at line 403 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::grid |
Definition at line 355 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::ground_line |
Definition at line 387 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::image_quad |
Definition at line 390 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_disk_lines |
Definition at line 398 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_square_lines |
Definition at line 399 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_inner_lines |
Definition at line 393 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_outer_lines |
Definition at line 392 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_sun_rays |
Definition at line 394 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_point_lines |
Definition at line 395 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_lines |
Definition at line 397 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_volume |
Definition at line 400 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_sun_lines |
Definition at line 396 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_cube |
Definition at line 410 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_grid |
Definition at line 412 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_planar |
Definition at line 411 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::metaball_wire_circle |
Definition at line 373 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::plain_axes |
Definition at line 363 of file overlay_private.hh.
Referenced by blender::drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::quad_solid |
Definition at line 362 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::quad_wire |
Definition at line 361 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 364 of file overlay_private.hh.
Referenced by blender::drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::speaker |
Definition at line 375 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::sphere_low_detail |
Definition at line 385 of file overlay_private.hh.
Referenced by ShapeCache().