|
Blender V4.3
|
#include <overlay_next_private.hh>
Public Member Functions | |
| ShapeCache () | |
Contains all overlay generic geometry batches.
Definition at line 102 of file overlay_next_private.hh.
| blender::draw::overlay::ShapeCache::ShapeCache | ( | ) |
Definition at line 413 of file overlay_next_shape.cc.
References blender::math::abs(), angle(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::draw::overlay::append_line_loop(), blender::draw::overlay::append_sphere(), arrows, axis_marker, 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, blender::draw::overlay::circle_nsegments, COL_BONE, COL_HEAD, COL_TAIL, COL_WIRE, cosf, blender::math::cross(), cube, blender::draw::overlay::diamond_nsegments, 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_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, ground_line, blender::draw::overlay::inner_nsegments, int, 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, point, POS_BONE, POS_HEAD, POS_TAIL, quad, quad_solid, quad_wire, blender::Vector< T, InlineBufferCapacity, Allocator >::reserve(), blender::draw::overlay::ring_vertices(), blender::math::scale(), scaled(), set_vert, sinf, single_arrow, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), speaker, blender::draw::overlay::sphere_axes_circles(), sphere_low_detail, steps, UNUSED_VARS, v, v2, blender::draw::overlay::vbo_from_vector(), blender::draw::overlay::VCLASS_CAMERA_DIST, blender::draw::overlay::VCLASS_CAMERA_FRAME, blender::draw::overlay::VCLASS_CAMERA_VOLUME, blender::draw::overlay::VCLASS_EMPTY_AXES, blender::draw::overlay::VCLASS_EMPTY_AXES_NAME, blender::draw::overlay::VCLASS_EMPTY_SCALED, blender::draw::overlay::VCLASS_EMPTY_SIZE, blender::draw::overlay::VCLASS_LIGHT_AREA_SHAPE, blender::draw::overlay::VCLASS_LIGHT_SPOT_BLEND, blender::draw::overlay::VCLASS_LIGHT_SPOT_CONE, blender::draw::overlay::VCLASS_LIGHT_SPOT_SHAPE, blender::draw::overlay::VCLASS_NONE, blender::draw::overlay::VCLASS_SCREENALIGNED, blender::draw::overlay::VCLASS_SCREENSPACE, verts, x, x_axis_name, y, y_axis_name, z(), and z_axis_name.
| BatchPtr blender::draw::overlay::ShapeCache::arrows |
Definition at line 139 of file overlay_next_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Armatures::end_sync(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_box |
Definition at line 113 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_box_wire |
Definition at line 114 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom |
Definition at line 123 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom_wire |
Definition at line 124 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope |
Definition at line 115 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_envelope_wire |
Definition at line 116 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron |
Definition at line 117 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron_wire |
Definition at line 118 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere |
Definition at line 119 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_sphere_wire |
Definition at line 120 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::bone_stick |
Definition at line 121 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_distances |
Definition at line 144 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Cameras::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_frame |
Definition at line 145 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Cameras::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria |
Definition at line 147 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Cameras::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_tria_wire |
Definition at line 146 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Cameras::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume |
Definition at line 149 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Cameras::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::camera_volume_wire |
Definition at line 150 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Cameras::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_body |
Definition at line 137 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Bounds::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::capsule_cap |
Definition at line 138 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Bounds::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::circle |
Definition at line 133 of file overlay_next_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), and blender::draw::overlay::Empties::end_sync().
| BatchPtr blender::draw::overlay::ShapeCache::cube |
Definition at line 132 of file overlay_next_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Bounds::end_sync(), blender::draw::overlay::Empties::end_sync(), blender::draw::overlay::Fluids::end_sync(), blender::draw::overlay::LightProbes::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::cylinder |
Definition at line 136 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Bounds::end_sync().
| BatchPtr blender::draw::overlay::ShapeCache::empty_cone |
Definition at line 135 of file overlay_next_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Bounds::end_sync(), blender::draw::overlay::Empties::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::empty_sphere |
Definition at line 134 of file overlay_next_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Bounds::end_sync(), blender::draw::overlay::Empties::end_sync(), blender::draw::overlay::LightProbes::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_cone_limit |
Definition at line 172 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::ForceFields::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_curve |
Definition at line 169 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::ForceFields::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_force |
Definition at line 166 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::ForceFields::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_sphere_limit |
Definition at line 170 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::ForceFields::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_tube_limit |
Definition at line 171 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::ForceFields::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_vortex |
Definition at line 168 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::ForceFields::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::field_wind |
Definition at line 167 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::ForceFields::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::grid |
Definition at line 126 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Grid::begin_sync().
| BatchPtr blender::draw::overlay::ShapeCache::ground_line |
Definition at line 154 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::LightProbes::end_sync(), blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_disk_lines |
Definition at line 162 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_area_square_lines |
Definition at line 163 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_inner_lines |
Definition at line 157 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_outer_lines |
Definition at line 156 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_icon_sun_rays |
Definition at line 158 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_point_lines |
Definition at line 159 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_lines |
Definition at line 161 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_spot_volume |
Definition at line 164 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::light_sun_lines |
Definition at line 160 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Lights::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_cube |
Definition at line 174 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::LightProbes::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_grid |
Definition at line 176 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::LightProbes::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::lightprobe_planar |
Definition at line 175 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::LightProbes::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::metaball_wire_circle |
Definition at line 140 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Metaballs::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::plain_axes |
Definition at line 130 of file overlay_next_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 129 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Grid::begin_sync(), blender::draw::overlay::EditText::end_sync(), blender::draw::overlay::LightProbes::end_sync(), blender::draw::overlay::MeshUVs::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::quad_wire |
Definition at line 128 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Grid::begin_sync(), blender::draw::overlay::Empties::end_sync(), blender::draw::overlay::MeshUVs::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::single_arrow |
Definition at line 131 of file overlay_next_private.hh.
Referenced by drw_shgroup_bone_custom_empty(), blender::draw::overlay::Empties::end_sync(), blender::draw::overlay::LightProbes::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::speaker |
Definition at line 142 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Speakers::end_sync(), and ShapeCache().
| BatchPtr blender::draw::overlay::ShapeCache::sphere_low_detail |
Definition at line 152 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Cameras::end_sync(), and ShapeCache().