|
Blender V5.3
|
#include <draw_handle.hh>
Inherited by blender::eevee::ObjectHandle.
Public Member Functions | |
| ObjectRef (Object *ob, Object *dupli_parent=nullptr, DupliObject *dupli_object=nullptr) | |
| ObjectRef (Object &ob, Object *dupli_parent, const VectorList< DupliObject * > &duplis) | |
| ObjectRef (const ObjectRef &ob_ref, uint sub_key) | |
| bool | is_dupli () const |
| bool | is_active (const Object *active_object) const |
| bool | is_range () const |
| int | instances_count () const |
| float4x4 | object_to_world (int instance_index) const |
| float4x4 | object_to_world () const |
| float | random (int instance_index) const |
| bool | find_rgba_attribute (const char *name, bool use_dupli, int instance_index, float r_value[4]) const |
| bool | find_rgba_attribute (const GPUUniformAttr &attr, int instance_index, float r_value[4]) const |
| uint64_t | get_light_set_membership () const |
| uint8_t | get_receiver_light_set () const |
| uint64_t | get_shadow_set_membership () const |
| uint8_t | get_blocker_shadow_set () const |
| uint | recalc_flags (uint64_t last_update) const |
| float4x4 | particles_matrix () const |
| int | preview_instance_index () const |
| const bke::GeometrySet * | preview_base_geometry () const |
| bool | parent_is_in_edit_paint_mode (const Object *active_object, eObjectMode ob_mode, eContextObjectMode ctx_mode) const |
Public Attributes | |
| Object *const | object |
Friends | |
| class | Manager |
| class | ObjectKey |
Definition at line 222 of file draw_handle.hh.
|
explicit |
Definition at line 660 of file draw_context.cc.
References object.
Referenced by blender::eevee::ShadowModule::debug_end_sync(), blender::eevee::ObjectHandle::ObjectHandle(), and ObjectRef().
|
explicit |
Definition at line 665 of file draw_context.cc.
References object.
|
inlineexplicit |
Definition at line 250 of file draw_handle.hh.
References ObjectRef().
|
inline |
Definition at line 311 of file draw_handle.hh.
References blender::BKE_object_dupli_find_rgba_attribute(), blender::BLI_assert(), instance_index, and is_range().
Referenced by find_rgba_attribute().
|
inline |
Definition at line 333 of file draw_handle.hh.
References find_rgba_attribute(), instance_index, blender::GPUUniformAttr::name, and blender::GPUUniformAttr::use_dupli.
|
inline |
Definition at line 363 of file draw_handle.hh.
References blender::LightLinkingRuntime::blocker_shadow_set, and blender::LightLinking::runtime.
Referenced by ObjectInfos::sync().
|
inline |
Definition at line 338 of file draw_handle.hh.
References blender::draw::LIGHT_LINK_MASK_ALL, blender::LightLinkingRuntime::light_set_membership, and blender::LightLinking::runtime.
Referenced by blender::eevee::LightModule::sync_light().
|
inline |
Definition at line 344 of file draw_handle.hh.
References blender::LightLinkingRuntime::receiver_light_set, and blender::LightLinking::runtime.
Referenced by ObjectInfos::sync().
|
inline |
Definition at line 357 of file draw_handle.hh.
References blender::draw::LIGHT_LINK_MASK_ALL, blender::LightLinking::runtime, and blender::LightLinkingRuntime::shadow_set_membership.
Referenced by blender::eevee::LightModule::sync_light().
|
inline |
Definition at line 271 of file draw_handle.hh.
Referenced by blender::eevee::VolumeModule::object_sync(), blender::workbench::ShadowPass::object_sync(), blender::eevee::VelocityModule::step_object_sync(), and blender::eevee::ShadowModule::sync_object().
|
inline |
Definition at line 261 of file draw_handle.hh.
Referenced by blender::draw::overlay::Resources::object_wire_theme_id(), blender::draw::Manager::resource_handle(), blender::draw::Manager::resource_handle(), and blender::draw::Manager::resource_handle_for_psys().
|
inline |
Definition at line 256 of file draw_handle.hh.
Referenced by blender::drw_engines_cache_populate(), blender::DRW_render_object_iter(), blender::draw::overlay::FlatObjectRef::flat_axis_index_get(), ObjectInfos::sync(), and blender::DupliCacheManager::try_add().
|
inline |
Definition at line 266 of file draw_handle.hh.
Referenced by find_rgba_attribute(), object_to_world(), object_to_world(), blender::draw::ObjectKey::ObjectKey(), particles_matrix(), random(), blender::draw::GSplatModule::sync_object(), and blender::eevee::SyncModule::sync_volume().
|
inline |
Definition at line 290 of file draw_handle.hh.
References blender::BLI_assert(), is_range(), and object_to_world().
|
inline |
Definition at line 279 of file draw_handle.hh.
References blender::BLI_assert(), instance_index, and is_range().
Referenced by blender::workbench::ShadowPass::object_sync(), blender::workbench::VolumePass::object_sync_modifier(), blender::workbench::VolumePass::object_sync_volume(), object_to_world(), blender::eevee::VelocityModule::step_object_sync(), blender::eevee::SyncModule::sync_curves(), blender::eevee::LightModule::sync_light(), and blender::eevee::VolumeObjectBounds::VolumeObjectBounds().
|
inline |
Definition at line 435 of file draw_handle.hh.
References blender::CTX_MODE_EDIT_ARMATURE, blender::CTX_MODE_EDIT_CURVE, blender::CTX_MODE_EDIT_CURVES, blender::CTX_MODE_EDIT_GREASE_PENCIL, blender::CTX_MODE_EDIT_LATTICE, blender::CTX_MODE_EDIT_MESH, blender::CTX_MODE_EDIT_METABALL, blender::CTX_MODE_EDIT_POINTCLOUD, blender::CTX_MODE_EDIT_SURFACE, blender::CTX_MODE_EDIT_TEXT, blender::DRW_object_is_in_edit_mode(), blender::OB_ARMATURE, blender::OB_CURVES, blender::OB_CURVES_LEGACY, blender::OB_FONT, blender::OB_GREASE_PENCIL, blender::OB_LATTICE, blender::OB_MBALL, blender::OB_MESH, OB_MODE_ALL_PAINT_GPENCIL, OB_MODE_ALL_PAINT_MESH, blender::OB_MODE_SCULPT, blender::OB_POINTCLOUD, blender::OB_SURF, and blender::OB_VOLUME.
|
inline |
Definition at line 397 of file draw_handle.hh.
References blender::BLI_assert(), blender::MatBase< float, 4, 4 >::identity(), blender::Collection::instance_offset, blender::math::invert(), is_range(), and blender::OB_DUPLICOLLECTION.
Referenced by blender::draw::external::Prepass::particle_sync(), and blender::draw::overlay::Prepass::particle_sync().
|
inline |
Definition at line 427 of file draw_handle.hh.
|
inline |
Definition at line 419 of file draw_handle.hh.
|
inline |
Definition at line 296 of file draw_handle.hh.
References blender::BLI_assert(), blender::BLI_hash_int_2d(), blender::BLI_hash_string(), float, blender::Object::id, instance_index, is_range(), blender::ID::name, and object.
Referenced by ObjectInfos::sync().
Definition at line 376 of file draw_handle.hh.
References blender::ID_RECALC_GEOMETRY, blender::ID_RECALC_SHADING, blender::ID_RECALC_TRANSFORM, object, blender::Object::runtime, and SET_FLAG_FROM_TEST.
Referenced by blender::eevee::Instance::get_recalc_flags().
|
friend |
|
friend |
| Object* const blender::draw::ObjectRef::object |
Definition at line 244 of file draw_handle.hh.
Referenced by blender::draw::detail::compute_pass_setup(), blender::draw::overlay::Armatures::create_draw_context(), blender::draw::overlay::Sculpts::curves_sync(), blender::draw::detail::draw_subpass_setup(), blender::workbench::Instance::draw_to_mesh_pass(), blender::drw_engines_cache_populate(), blender::DRW_render_object_iter(), blender::draw::overlay::Curves::edit_object_sync_legacy(), blender::draw::Manager::extract_all_object_attributes(), blender::draw::overlay::FlatObjectRef::flat_axis_index_get(), blender::eevee::foreach_hair_particle(), blender::workbench::Instance::get_material(), blender::draw::hair_sub_pass_setup_implementation(), blender::workbench::Instance::hair_sync(), blender::draw::overlay::is_from_dupli_or_set(), blender::eevee::MaterialModule::material_array_get(), blender::eevee::MaterialModule::material_get(), blender::draw::overlay::Sculpts::mesh_sync(), blender::workbench::Instance::mesh_sync(), blender::draw::external::Prepass::object_sync(), blender::draw::gpencil::Instance::object_sync(), blender::draw::overlay::Instance::object_sync(), blender::eevee::Instance::object_sync(), blender::workbench::ShadowPass::object_sync(), blender::draw::overlay::Wireframe::object_sync_ex(), blender::workbench::VolumePass::object_sync_modifier(), blender::workbench::VolumePass::object_sync_volume(), blender::draw::overlay::Resources::object_wire_color(), blender::draw::overlay::Resources::object_wire_theme_id(), blender::draw::ObjectKey::ObjectKey(), ObjectRef(), ObjectRef(), blender::draw::external::Prepass::particle_sync(), blender::draw::overlay::Prepass::particle_sync(), blender::draw::pointcloud_sub_pass_setup_implementation(), blender::workbench::Instance::pointcloud_sync(), random(), recalc_flags(), blender::draw::gpencil::render_frame(), blender::draw::Manager::resource_handle(), blender::draw::Manager::resource_handle(), blender::draw::Manager::resource_handle_for_psys(), blender::draw::external::Prepass::sculpt_sync(), blender::draw::overlay::Prepass::sculpt_sync(), blender::workbench::Instance::sculpt_sync(), blender::draw::select::SelectMap::select_id(), blender::eevee::VelocityModule::step_object_sync(), blender::eevee::step_object_sync_render(), ObjectInfos::sync(), blender::eevee::SyncModule::sync_curves(), blender::eevee::LightModule::sync_light(), blender::eevee::SyncModule::sync_mesh(), blender::eevee::Cryptomatte::sync_object(), blender::eevee::ShadowModule::sync_object(), blender::eevee::SyncModule::sync_pointcloud(), blender::eevee::LightProbeModule::sync_probe(), blender::eevee::SyncModule::sync_sculpt(), blender::eevee::SyncModule::sync_volume(), blender::DupliCacheManager::try_add(), blender::draw::Manager::unique_handle_for_sculpt(), blender::draw::Manager::update_handle_bounds(), and blender::eevee::VolumeObjectBounds::VolumeObjectBounds().