|
Blender V4.3
|
#include <hydra_scene_delegate.hh>
Inherits pxr::HdSceneDelegate.
Classes | |
| struct | ShadingSettings |
Public Member Functions | |
| HydraSceneDelegate (pxr::HdRenderIndex *parent_index, pxr::SdfPath const &delegate_id, bool use_materialx) | |
| ~HydraSceneDelegate () override=default | |
| pxr::HdMeshTopology | GetMeshTopology (pxr::SdfPath const &id) override |
| pxr::HdBasisCurvesTopology | GetBasisCurvesTopology (pxr::SdfPath const &id) override |
| pxr::GfMatrix4d | GetTransform (pxr::SdfPath const &id) override |
| pxr::VtValue | Get (pxr::SdfPath const &id, pxr::TfToken const &key) override |
| pxr::VtValue | GetLightParamValue (pxr::SdfPath const &id, pxr::TfToken const &key) override |
| pxr::HdPrimvarDescriptorVector | GetPrimvarDescriptors (pxr::SdfPath const &id, pxr::HdInterpolation interpolation) override |
| pxr::SdfPath | GetMaterialId (pxr::SdfPath const &rprim_id) override |
| pxr::VtValue | GetMaterialResource (pxr::SdfPath const &material_id) override |
| bool | GetVisible (pxr::SdfPath const &id) override |
| bool | GetDoubleSided (pxr::SdfPath const &id) override |
| pxr::HdCullStyle | GetCullStyle (pxr::SdfPath const &id) override |
| pxr::SdfPath | GetInstancerId (pxr::SdfPath const &prim_id) override |
| pxr::SdfPathVector | GetInstancerPrototypes (pxr::SdfPath const &instancer_id) override |
| pxr::VtIntArray | GetInstanceIndices (pxr::SdfPath const &instancer_id, pxr::SdfPath const &prototype_id) override |
| pxr::GfMatrix4d | GetInstancerTransform (pxr::SdfPath const &instancer_id) override |
| pxr::HdVolumeFieldDescriptorVector | GetVolumeFieldDescriptors (pxr::SdfPath const &volume_id) override |
| void | populate (Depsgraph *depsgraph, View3D *v3d) |
| void | clear () |
Public Attributes | |
| Depsgraph * | depsgraph = nullptr |
| const View3D * | view3d = nullptr |
| Main * | bmain = nullptr |
| Scene * | scene = nullptr |
| ShadingSettings | shading_settings |
| bool | use_materialx = true |
Definition at line 36 of file hydra_scene_delegate.hh.
| blender::io::hydra::HydraSceneDelegate::HydraSceneDelegate | ( | pxr::HdRenderIndex * | parent_index, |
| pxr::SdfPath const & | delegate_id, | ||
| bool | use_materialx ) |
Definition at line 35 of file hydra_scene_delegate.cc.
|
overridedefault |
| void blender::io::hydra::HydraSceneDelegate::clear | ( | ) |
Definition at line 225 of file hydra_scene_delegate.cc.
References bmain, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), depsgraph, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), and view3d.
|
override |
Definition at line 72 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::InstancerData::get_data(), blender::io::hydra::MaterialData::get_data(), blender::io::hydra::ObjectData::get_data(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 51 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::CurvesData::topology().
|
override |
Definition at line 159 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::MeshData::cull_style(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 153 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::MeshData::double_sided(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 182 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::InstancerData::indices(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 165 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::IdData::prim_id.
|
override |
Definition at line 175 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::InstancerData::prototypes().
|
override |
Definition at line 190 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::InstancerData::transform().
|
override |
Definition at line 90 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LightData::get_data(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 120 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::ObjectData::material_id().
|
override |
Definition at line 130 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::MaterialData::get_material_resource(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 44 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, and m_data.
|
override |
Definition at line 101 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, m_data, blender::io::hydra::CurvesData::primvar_descriptors(), and blender::io::hydra::InstancerData::primvar_descriptors().
|
override |
Definition at line 58 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, blender::io::hydra::InstancerData::transform(), and blender::io::hydra::ObjectData::transform.
|
override |
Definition at line 140 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::ObjectData::visible.
|
override |
Definition at line 197 of file hydra_scene_delegate.cc.
References CLOG_INFO, blender::io::hydra::VolumeData::field_descriptors(), and blender::io::hydra::LOG_HYDRA_SCENE.
| void blender::io::hydra::HydraSceneDelegate::populate | ( | Depsgraph * | depsgraph, |
| View3D * | v3d ) |
Definition at line 205 of file hydra_scene_delegate.cc.
References bmain, DEG_get_bmain(), DEG_get_input_scene(), depsgraph, and view3d.
| Main* blender::io::hydra::HydraSceneDelegate::bmain = nullptr |
Definition at line 53 of file hydra_scene_delegate.hh.
Referenced by clear(), blender::io::hydra::MaterialData::init(), blender::io::hydra::VolumeData::init(), blender::io::hydra::WorldData::init(), and populate().
| Depsgraph* blender::io::hydra::HydraSceneDelegate::depsgraph = nullptr |
Definition at line 51 of file hydra_scene_delegate.hh.
Referenced by clear(), blender::io::hydra::MaterialData::init(), blender::io::hydra::VolumeModifierData::init(), blender::io::hydra::HairData::is_visible(), blender::io::hydra::ObjectData::is_visible(), populate(), and blender::io::hydra::InstancerData::update_instance().
| Scene* blender::io::hydra::HydraSceneDelegate::scene = nullptr |
Definition at line 54 of file hydra_scene_delegate.hh.
Referenced by blender::io::hydra::VolumeModifierData::init(), blender::io::hydra::WorldData::init(), and blender::io::hydra::WorldData::update().
| ShadingSettings blender::io::hydra::HydraSceneDelegate::shading_settings |
Definition at line 56 of file hydra_scene_delegate.hh.
Referenced by blender::io::hydra::WorldData::init(), blender::io::hydra::WorldData::update(), and blender::io::hydra::WorldData::write_transform().
| bool blender::io::hydra::HydraSceneDelegate::use_materialx = true |
Definition at line 57 of file hydra_scene_delegate.hh.
Referenced by blender::io::hydra::MaterialData::init().
| const View3D* blender::io::hydra::HydraSceneDelegate::view3d = nullptr |
Definition at line 52 of file hydra_scene_delegate.hh.
Referenced by clear(), blender::io::hydra::ObjectData::is_visible(), and populate().