Blender V4.3
blender::draw::overlay::ShapeCache Class Reference

#include <overlay_next_private.hh>

Public Member Functions

 ShapeCache ()

Public Attributes

BatchPtr bone_box
BatchPtr bone_box_wire
BatchPtr bone_envelope
BatchPtr bone_envelope_wire
BatchPtr bone_octahedron
BatchPtr bone_octahedron_wire
BatchPtr bone_sphere
BatchPtr bone_sphere_wire
BatchPtr bone_stick
BatchPtr bone_degrees_of_freedom
BatchPtr bone_degrees_of_freedom_wire
BatchPtr grid
BatchPtr quad_wire
BatchPtr quad_solid
BatchPtr plain_axes
BatchPtr single_arrow
BatchPtr cube
BatchPtr circle
BatchPtr empty_sphere
BatchPtr empty_cone
BatchPtr cylinder
BatchPtr capsule_body
BatchPtr capsule_cap
BatchPtr arrows
BatchPtr metaball_wire_circle
BatchPtr speaker
BatchPtr camera_distances
BatchPtr camera_frame
BatchPtr camera_tria_wire
BatchPtr camera_tria
BatchPtr camera_volume
BatchPtr camera_volume_wire
BatchPtr sphere_low_detail
BatchPtr ground_line
BatchPtr light_icon_outer_lines
BatchPtr light_icon_inner_lines
BatchPtr light_icon_sun_rays
BatchPtr light_point_lines
BatchPtr light_sun_lines
BatchPtr light_spot_lines
BatchPtr light_area_disk_lines
BatchPtr light_area_square_lines
BatchPtr light_spot_volume
BatchPtr field_force
BatchPtr field_wind
BatchPtr field_vortex
BatchPtr field_curve
BatchPtr field_sphere_limit
BatchPtr field_tube_limit
BatchPtr field_cone_limit
BatchPtr lightprobe_cube
BatchPtr lightprobe_planar
BatchPtr lightprobe_grid

Detailed Description

Contains all overlay generic geometry batches.

Definition at line 102 of file overlay_next_private.hh.

Constructor & Destructor Documentation

◆ ShapeCache()

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, circle, blender::draw::overlay::circle_nsegments, COL_BONE, COL_HEAD, COL_TAIL, COL_WIRE, cosf, blender::math::cross(), cube, cylinder, 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, grid, 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, 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(), 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.

Member Data Documentation

◆ arrows

BatchPtr blender::draw::overlay::ShapeCache::arrows

◆ bone_box

BatchPtr blender::draw::overlay::ShapeCache::bone_box

◆ bone_box_wire

BatchPtr blender::draw::overlay::ShapeCache::bone_box_wire

◆ bone_degrees_of_freedom

BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom

◆ bone_degrees_of_freedom_wire

BatchPtr blender::draw::overlay::ShapeCache::bone_degrees_of_freedom_wire

◆ bone_envelope

BatchPtr blender::draw::overlay::ShapeCache::bone_envelope

◆ bone_envelope_wire

BatchPtr blender::draw::overlay::ShapeCache::bone_envelope_wire

◆ bone_octahedron

BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron

◆ bone_octahedron_wire

BatchPtr blender::draw::overlay::ShapeCache::bone_octahedron_wire

◆ bone_sphere

BatchPtr blender::draw::overlay::ShapeCache::bone_sphere

◆ bone_sphere_wire

BatchPtr blender::draw::overlay::ShapeCache::bone_sphere_wire

◆ bone_stick

BatchPtr blender::draw::overlay::ShapeCache::bone_stick

◆ camera_distances

BatchPtr blender::draw::overlay::ShapeCache::camera_distances

◆ camera_frame

BatchPtr blender::draw::overlay::ShapeCache::camera_frame

◆ camera_tria

BatchPtr blender::draw::overlay::ShapeCache::camera_tria

◆ camera_tria_wire

BatchPtr blender::draw::overlay::ShapeCache::camera_tria_wire

◆ camera_volume

BatchPtr blender::draw::overlay::ShapeCache::camera_volume

◆ camera_volume_wire

BatchPtr blender::draw::overlay::ShapeCache::camera_volume_wire

◆ capsule_body

BatchPtr blender::draw::overlay::ShapeCache::capsule_body

◆ capsule_cap

BatchPtr blender::draw::overlay::ShapeCache::capsule_cap

◆ circle

BatchPtr blender::draw::overlay::ShapeCache::circle

◆ cube

◆ cylinder

BatchPtr blender::draw::overlay::ShapeCache::cylinder

◆ empty_cone

BatchPtr blender::draw::overlay::ShapeCache::empty_cone

◆ empty_sphere

◆ field_cone_limit

BatchPtr blender::draw::overlay::ShapeCache::field_cone_limit

◆ field_curve

BatchPtr blender::draw::overlay::ShapeCache::field_curve

◆ field_force

BatchPtr blender::draw::overlay::ShapeCache::field_force

◆ field_sphere_limit

BatchPtr blender::draw::overlay::ShapeCache::field_sphere_limit

◆ field_tube_limit

BatchPtr blender::draw::overlay::ShapeCache::field_tube_limit

◆ field_vortex

BatchPtr blender::draw::overlay::ShapeCache::field_vortex

◆ field_wind

BatchPtr blender::draw::overlay::ShapeCache::field_wind

◆ grid

BatchPtr blender::draw::overlay::ShapeCache::grid

◆ ground_line

BatchPtr blender::draw::overlay::ShapeCache::ground_line

◆ light_area_disk_lines

BatchPtr blender::draw::overlay::ShapeCache::light_area_disk_lines

◆ light_area_square_lines

BatchPtr blender::draw::overlay::ShapeCache::light_area_square_lines

◆ light_icon_inner_lines

BatchPtr blender::draw::overlay::ShapeCache::light_icon_inner_lines

◆ light_icon_outer_lines

BatchPtr blender::draw::overlay::ShapeCache::light_icon_outer_lines

◆ light_icon_sun_rays

BatchPtr blender::draw::overlay::ShapeCache::light_icon_sun_rays

◆ light_point_lines

BatchPtr blender::draw::overlay::ShapeCache::light_point_lines

◆ light_spot_lines

BatchPtr blender::draw::overlay::ShapeCache::light_spot_lines

◆ light_spot_volume

BatchPtr blender::draw::overlay::ShapeCache::light_spot_volume

◆ light_sun_lines

BatchPtr blender::draw::overlay::ShapeCache::light_sun_lines

◆ lightprobe_cube

BatchPtr blender::draw::overlay::ShapeCache::lightprobe_cube

◆ lightprobe_grid

BatchPtr blender::draw::overlay::ShapeCache::lightprobe_grid

◆ lightprobe_planar

BatchPtr blender::draw::overlay::ShapeCache::lightprobe_planar

◆ metaball_wire_circle

BatchPtr blender::draw::overlay::ShapeCache::metaball_wire_circle

◆ plain_axes

BatchPtr blender::draw::overlay::ShapeCache::plain_axes

◆ quad_solid

◆ quad_wire

BatchPtr blender::draw::overlay::ShapeCache::quad_wire

◆ single_arrow

BatchPtr blender::draw::overlay::ShapeCache::single_arrow

◆ speaker

BatchPtr blender::draw::overlay::ShapeCache::speaker

◆ sphere_low_detail

BatchPtr blender::draw::overlay::ShapeCache::sphere_low_detail

The documentation for this class was generated from the following files: