|
Blender V5.0
|
#include <overlay_private.hh>
Public Member Functions | |
| ShapeCache () | |
Contains all overlay generic geometry batches.
Definition at line 327 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, float, 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, TH_AXIS_X, TH_AXIS_Y, TH_AXIS_Z, TH_VIEW_OVERLAY, TH_WHITE, blender::VecBase< uint32_t, 3 >::type_length, UI_GetThemeColor3fv(), UI_GetThemeColorBlendShade3fv(), 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 368 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 338 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_box_wire |
Definition at line 339 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom |
Definition at line 348 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom_wire |
Definition at line 349 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope |
Definition at line 340 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope_wire |
Definition at line 341 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron |
Definition at line 342 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron_wire |
Definition at line 343 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere |
Definition at line 344 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere_wire |
Definition at line 345 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_stick |
Definition at line 346 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_distances |
Definition at line 373 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_frame |
Definition at line 374 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria |
Definition at line 376 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria_wire |
Definition at line 375 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume |
Definition at line 378 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume_wire |
Definition at line 379 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_body |
Definition at line 366 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_cap |
Definition at line 367 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::circle |
Definition at line 362 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 361 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 352 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cursor_circle |
Definition at line 354 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cursor_lines |
Definition at line 355 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cylinder |
Definition at line 365 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::empty_cone |
Definition at line 364 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 363 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 404 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_curve |
Definition at line 401 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_force |
Definition at line 398 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_sphere_limit |
Definition at line 402 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_tube_limit |
Definition at line 403 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_vortex |
Definition at line 400 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_wind |
Definition at line 399 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::grid |
Definition at line 351 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::ground_line |
Definition at line 383 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::image_quad |
Definition at line 386 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_disk_lines |
Definition at line 394 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_square_lines |
Definition at line 395 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_inner_lines |
Definition at line 389 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_outer_lines |
Definition at line 388 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_sun_rays |
Definition at line 390 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_point_lines |
Definition at line 391 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_lines |
Definition at line 393 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_volume |
Definition at line 396 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_sun_lines |
Definition at line 392 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_cube |
Definition at line 406 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_grid |
Definition at line 408 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_planar |
Definition at line 407 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::metaball_wire_circle |
Definition at line 369 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::plain_axes |
Definition at line 359 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 358 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::quad_wire |
Definition at line 357 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 360 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 371 of file overlay_private.hh.
Referenced by ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::sphere_low_detail |
Definition at line 381 of file overlay_private.hh.
Referenced by ShapeCache().