|
Blender V4.3
|
Classes | |
| class | AntiAliasing |
| class | Armatures |
| class | AttributeViewer |
| class | Background |
| class | Bounds |
| struct | CameraInstanceData |
| class | Cameras |
| class | Curves |
| class | EditText |
| class | Empties |
| class | Facing |
| class | Fade |
| class | Fluids |
| class | ForceFields |
| class | GreasePencil |
| class | Grid |
| class | Images |
| class | Instance |
| class | Lattices |
| class | LightProbes |
| class | Lights |
| struct | LinePrimitiveBuf |
| class | Meshes |
| class | MeshUVs |
| class | Metaballs |
| class | ModeTransfer |
| class | MotionPath |
| class | Origins |
| class | Outline |
| class | Paints |
| class | Particles |
| struct | PointPrimitiveBuf |
| class | Prepass |
| class | Relations |
| struct | Resources |
| class | Sculpts |
| class | ShaderModule |
| class | ShapeCache |
| struct | ShapeInstanceBuf |
| class | Speakers |
| struct | State |
| struct | Vertex |
| struct | VertexPrimitiveBuf |
| struct | VertexTriple |
| struct | VertShaded |
| class | Wireframe |
| class | XrayFade |
Typedefs | |
| using | SelectionType = select::SelectionType |
Enumerations | |
| enum | eArmatureDrawMode { ARM_DRAW_MODE_OBJECT , ARM_DRAW_MODE_POSE , ARM_DRAW_MODE_EDIT } |
| enum | VertexClass { VCLASS_NONE = 0 , VCLASS_LIGHT_AREA_SHAPE = 1 << 0 , VCLASS_LIGHT_SPOT_SHAPE = 1 << 1 , VCLASS_LIGHT_SPOT_BLEND = 1 << 2 , VCLASS_LIGHT_SPOT_CONE = 1 << 3 , VCLASS_LIGHT_DIST = 1 << 4 , VCLASS_CAMERA_FRAME = 1 << 5 , VCLASS_CAMERA_DIST = 1 << 6 , VCLASS_CAMERA_VOLUME = 1 << 7 , VCLASS_SCREENSPACE = 1 << 8 , VCLASS_SCREENALIGNED = 1 << 9 , VCLASS_EMPTY_SCALED = 1 << 10 , VCLASS_EMPTY_AXES = 1 << 11 , VCLASS_EMPTY_AXES_NAME = 1 << 12 , VCLASS_EMPTY_AXES_SHADOW = 1 << 13 , VCLASS_EMPTY_SIZE = 1 << 14 } |
Variables | |
| constexpr int | overlay_edit_text |
| static constexpr int | diamond_nsegments = 4 |
| static constexpr int | inner_nsegments = 8 |
| static constexpr int | outer_nsegments = 10 |
| static constexpr int | circle_nsegments = 32 |
| static constexpr float | bone_box_verts [8][3] |
| static constexpr std::array< uint, 24 > | bone_box_wire_lines |
| static const std::array< uint3, 12 > | bone_box_solid_tris |
| static const std::array< uint4, 12 > | bone_box_wire_lines_adjacency |
| static const std::array< float3, 12 > | bone_box_solid_normals |
| static const std::array< float3, 6 > | bone_octahedral_verts |
| static const std::array< float3, 6 > | bone_octahedral_smooth_normals |
| static const std::array< uint2, 12 > | bone_octahedral_wire_lines |
| static const std::array< uint3, 8 > | bone_octahedral_solid_tris |
| static const std::array< uint4, 12 > | bone_octahedral_wire_lines_adjacency |
| static const float | bone_octahedral_solid_normals [8][3] |
Definition at line 34 of file overlay_next_private.hh.
| Enumerator | |
|---|---|
| ARM_DRAW_MODE_OBJECT | |
| ARM_DRAW_MODE_POSE | |
| ARM_DRAW_MODE_EDIT | |
Definition at line 19 of file overlay_next_armature.hh.
Definition at line 77 of file overlay_next_shape.cc.
|
static |
Definition at line 93 of file overlay_viewer_text.cc.
References add_attributes_to_text_cache(), add_values_to_text_cache(), blender::bke::AttributeAccessor::contains(), and blender::bke::AttributeAccessor::lookup().
Referenced by add_attributes_to_text_cache().
|
static |
Definition at line 107 of file overlay_viewer_text.cc.
References add_instance_attributes_to_text_cache(), add_values_to_text_cache(), blender::bke::AttributeAccessor::lookup(), blender::GVArray::slice(), and blender::bke::GAttributeReader::varray.
Referenced by add_instance_attributes_to_text_cache().
|
static |
Definition at line 31 of file overlay_viewer_text.cc.
References col, blender::bke::attribute_math::convert_to_static_type(), DRW_text_cache_ensure(), TH_TEXT_HI, and UI_GetThemeColor4ubv().
Referenced by add_attributes_to_text_cache(), and add_instance_attributes_to_text_cache().
|
static |
Definition at line 269 of file overlay_next_shape.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), flag, blender::math::step(), verts, and z().
Referenced by light_append_direction_line(), and blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 367 of file overlay_next_shape.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert, DRW_LOD_LOW, DRW_LOD_MAX, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::IndexRange::last(), ring_vertices(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and sphere_lat_lon_vert().
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 341 of file overlay_next_shape.cc.
References append_line_loop(), light_distance_z_get(), VCLASS_LIGHT_DIST, VCLASS_SCREENSPACE, and verts.
Referenced by light_append_direction_line(), and blender::draw::overlay::ShapeCache::ShapeCache().
Definition at line 353 of file overlay_next_shape.cc.
References diamond_nsegments, light_append_direction_line(), ring_vertices(), and verts.
|
static |
Definition at line 281 of file overlay_next_shape.cc.
Referenced by light_append_direction_line().
|
static |
Definition at line 301 of file overlay_next_shape.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::math::cos(), blender::math::numbers::pi, blender::math::sin(), and verts.
Referenced by append_sphere(), light_append_direction_line(), blender::draw::overlay::ShapeCache::ShapeCache(), and sphere_axes_circles().
|
static |
Definition at line 108 of file overlay_next_shader.cc.
References blender::gpu::shader::ShaderCreateInfo::additional_info(), and blender::gpu::shader::ShaderCreateInfo::additional_infos_.
Referenced by shader_patch_edit_mesh_normal_common(), and blender::draw::overlay::ShaderModule::ShaderModule().
|
static |
Definition at line 115 of file overlay_next_shader.cc.
References blender::gpu::shader::ShaderCreateInfo::additional_info(), blender::gpu::shader::ShaderCreateInfo::defines_, shader_patch_common(), blender::gpu::shader::ShaderCreateInfo::storage_buf(), and blender::gpu::shader::ShaderCreateInfo::vertex_inputs_.
Referenced by blender::draw::overlay::ShaderModule::ShaderModule().
|
static |
Definition at line 315 of file overlay_next_shape.cc.
References ring_vertices(), and verts.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 359 of file overlay_next_shape.cc.
References VCLASS_EMPTY_SCALED, x, y, and z().
Referenced by append_sphere().
|
static |
Definition at line 33 of file overlay_next_shape.cc.
References blender::gpu::VertBuf::data(), GPU_COMP_F32, GPU_COMP_I32, GPU_FETCH_FLOAT, GPU_FETCH_INT, GPU_vertbuf_create_with_format, GPU_vertbuf_data_alloc(), and GPU_vertformat_attr_add().
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 62 of file overlay_next_shape.cc.
References blender::gpu::VertBuf::data(), GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_vertbuf_create_with_format, GPU_vertbuf_data_alloc(), and GPU_vertformat_attr_add().
|
static |
Definition at line 47 of file overlay_next_shape.cc.
References blender::gpu::VertBuf::data(), GPU_COMP_F32, GPU_COMP_I32, GPU_FETCH_FLOAT, GPU_FETCH_INT, GPU_vertbuf_create_with_format, GPU_vertbuf_data_alloc(), and GPU_vertformat_attr_add().
|
inlinestatic |
Definition at line 93 of file overlay_next_private.hh.
References GPU_polygon_offset_calc(), and blender::MatBase< T, NumCol, NumRow, Alignment >::ptr().
Referenced by blender::draw::overlay::Curves::draw(), blender::draw::overlay::EditText::draw(), blender::draw::overlay::Meshes::draw(), blender::draw::overlay::Curves::draw_color_only(), blender::draw::overlay::GreasePencil::draw_color_only(), blender::draw::overlay::Meshes::draw_color_only(), blender::draw::overlay::Empties::draw_images(), blender::draw::overlay::Cameras::draw_in_front(), and blender::draw::overlay::Empties::draw_in_front_images().
|
static |
Definition at line 160 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 120 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 105 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 116 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Store indices of generated verts from bone_box_solid_tris to define adjacency infos. See bone_octahedral_solid_tris for more infos.
Definition at line 144 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
NOTE: This is not the correct normals. The correct smooth normals for the equator vertices should be {+-0.943608f * M_SQRT1_2, -0.331048f, +-0.943608f * M_SQRT1_2} but it creates problems for outlines when bones are scaled.
Definition at line 195 of file overlay_next_shape.cc.
|
static |
Definition at line 258 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 219 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 180 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Definition at line 204 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
static |
Store indices of generated verts from bone_octahedral_solid_tris to define adjacency infos. Example: triangle {2, 1, 0} is adjacent to {3, 2, 0}, {1, 4, 0} and {5, 1, 2}. {2, 1, 0} becomes {0, 1, 2} {3, 2, 0} becomes {3, 4, 5} {1, 4, 0} becomes {9, 10, 11} {5, 1, 2} becomes {12, 13, 14} According to opengl specification it becomes (starting from the first vertex of the first face aka. vertex 2): {0, 12, 1, 10, 2, 3}
Definition at line 242 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 103 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 100 of file overlay_next_shape.cc.
Referenced by light_append_direction_line(), and blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 101 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
staticconstexpr |
Definition at line 102 of file overlay_next_shape.cc.
Referenced by blender::draw::overlay::ShapeCache::ShapeCache().
|
constexpr |
Definition at line 32 of file overlay_next_mesh.hh.
Referenced by blender::draw::overlay::Meshes::edit_object_sync().