|
Blender V5.3
|
#include <overlay_private.hh>
Public Types | |
| using | Callback = FunctionRef<void(gpu::Batch *geom, ResourceID handle)> |
Public Member Functions | |
| void | if_flat_axis_orthogonal_to_view (Manager &manager, const View &view, Callback callback) const |
Static Public Member Functions | |
| static int | flat_axis_index_get (const ObjectRef &ob_ref) |
Public Attributes | |
| gpu::Batch * | geom |
| ResourceHandleRange | handle |
| int | flattened_axis_id |
Definition at line 1002 of file overlay_private.hh.
| using blender::draw::overlay::FlatObjectRef::Callback = FunctionRef<void(gpu::Batch *geom, ResourceID handle)> |
Definition at line 1050 of file overlay_private.hh.
|
inlinestatic |
Definition at line 1008 of file overlay_private.hh.
References blender::BKE_object_boundbox_get(), blender::BKE_object_dimensions_get(), blender::BLI_assert(), ELEM, blender::gpu::shader::metadata::float3, blender::draw::ObjectRef::is_dupli(), blender::OB_CURVES, blender::OB_CURVES_LEGACY, blender::OB_FONT, blender::OB_MESH, blender::OB_POINTCLOUD, blender::OB_SURF, blender::OB_VOLUME, blender::draw::ObjectRef::object, blender::math::reduce_max(), and blender::Object::type.
Referenced by blender::draw::overlay::Outline::object_sync(), and blender::draw::overlay::Prepass::object_sync().
|
inline |
Definition at line 1054 of file overlay_private.hh.
References blender::math::abs(), blender::math::cross(), blender::math::dot(), flattened_axis_id, blender::gpu::shader::metadata::float3, blender::gpu::shader::metadata::float4x4, blender::draw::View::forward(), geom, handle, blender::draw::ResourceHandleRange::id_range(), and blender::draw::Manager::matrix_buf.
| int blender::draw::overlay::FlatObjectRef::flattened_axis_id |
Definition at line 1005 of file overlay_private.hh.
Referenced by if_flat_axis_orthogonal_to_view().
| gpu::Batch* blender::draw::overlay::FlatObjectRef::geom |
Definition at line 1003 of file overlay_private.hh.
Referenced by if_flat_axis_orthogonal_to_view().
| ResourceHandleRange blender::draw::overlay::FlatObjectRef::handle |
Definition at line 1004 of file overlay_private.hh.
Referenced by if_flat_axis_orthogonal_to_view().