|
Blender V5.0
|
#include <hydra_scene_delegate.hh>
Inherits pxr::HdSceneDelegate.
Classes | |
| struct | ShadingSettings |
Public Member Functions | |
| HydraSceneDelegate (pxr::HdRenderIndex *parent_index, pxr::SdfPath const &delegate_id, CameraDelegate *camera_delegate, 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 34 of file hydra_scene_delegate.hh.
| blender::io::hydra::HydraSceneDelegate::HydraSceneDelegate | ( | pxr::HdRenderIndex * | parent_index, |
| pxr::SdfPath const & | delegate_id, | ||
| CameraDelegate * | camera_delegate, | ||
| bool | use_materialx ) |
Definition at line 38 of file hydra_scene_delegate.cc.
References use_materialx.
|
overridedefault |
References depsgraph.
| void blender::io::hydra::HydraSceneDelegate::clear | ( | ) |
|
override |
Definition at line 78 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, 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 57 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::CurvesData::topology().
|
override |
Definition at line 165 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 159 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 188 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::InstancerData::indices(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 171 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::IdData::prim_id.
|
override |
Definition at line 181 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::InstancerData::prototypes().
|
override |
Definition at line 196 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::InstancerData::transform().
|
override |
Definition at line 96 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LightData::get_data(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 126 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LOG_HYDRA_SCENE, and blender::io::hydra::ObjectData::material_id().
|
override |
Definition at line 136 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::MaterialData::get_material_resource(), and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 50 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LOG_HYDRA_SCENE, and m_data.
|
override |
Definition at line 107 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, 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 64 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, blender::io::hydra::LOG_HYDRA_SCENE, blender::io::hydra::InstancerData::transform(), and blender::io::hydra::ObjectData::transform.
|
override |
Definition at line 146 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, and blender::io::hydra::LOG_HYDRA_SCENE.
|
override |
Definition at line 203 of file hydra_scene_delegate.cc.
References CLOG_DEBUG, 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 211 of file hydra_scene_delegate.cc.
References bmain, DEG_get_bmain(), DEG_get_input_scene(), depsgraph, scene, and view3d.
Definition at line 51 of file hydra_scene_delegate.hh.
Referenced by clear(), and populate().
| Depsgraph* blender::io::hydra::HydraSceneDelegate::depsgraph = nullptr |
Definition at line 49 of file hydra_scene_delegate.hh.
Referenced by clear(), blender::io::hydra::HairData::is_visible(), blender::io::hydra::ObjectData::is_visible(), populate(), and ~HydraSceneDelegate().
Definition at line 52 of file hydra_scene_delegate.hh.
Referenced by clear(), and populate().
| ShadingSettings blender::io::hydra::HydraSceneDelegate::shading_settings |
Definition at line 54 of file hydra_scene_delegate.hh.
| bool blender::io::hydra::HydraSceneDelegate::use_materialx = true |
Definition at line 55 of file hydra_scene_delegate.hh.
Referenced by HydraSceneDelegate().
Definition at line 50 of file hydra_scene_delegate.hh.
Referenced by clear(), blender::io::hydra::ObjectData::is_visible(), and populate().