|
| ScenePtr ()=default |
|
| ~ScenePtr () |
|
bool | isKarmaCPU () const |
|
bool | isKarmaXPU () const |
|
void | startEdits (BRAY::RendererPtr &renderer) |
| Start edits/loading of the scene. More...
|
|
bool | isValid () const |
| Test validity. More...
|
|
bool | threadSafe () const |
| Test whether the scene is thread-safe. More...
|
|
bool | nestedInstancing () const |
| Test whether the renderer supports nested instancing. More...
|
|
void | updateObject (const ObjectPtr &ptr, BRAY_EventType event) |
| Update an object in the scene. More...
|
|
void | updateLight (const LightPtr &ptr, BRAY_EventType event) |
| Update light object in the scene. More...
|
|
void | updateCamera (const CameraPtr &ptr, BRAY_EventType event) |
| Update camera object in the scene. More...
|
|
void | updateMaterial (const MaterialPtr &ptr, BRAY_EventType event) |
| Update material object in the scene. More...
|
|
void | updateCoordSys (const CoordSysPtr &ptr, BRAY_EventType event) |
| Update coord sys object. More...
|
|
void | saveCheckpointASAP () |
| Forcibly save checkpoint as soon as possible (if checkpointing is enabled) More...
|
|
void | setCameraRayMask (BRAY_RayVisibility mask) |
|
void | setShadowRayMask (BRAY_RayVisibility mask) |
|
void | forceRedice () |
|
void | commitOptions () |
| After changing any options, must commit prior to rendering. More...
|
|
OptionSet | planeProperties () |
| Grab a copy of the current image plane properties. More...
|
|
const OptionSet | constPlaneProperties () const |
|
OptionSet | defaultProperties (BRAY_PropertyType type) const |
|
LightPtr | createLight (const UT_StringHolder &name) |
| Create a light. More...
|
|
LightPtr | createDetachedLight (const UT_StringHolder &name) |
| Create a detached light, which is not added to the scene. More...
|
|
CameraPtr | createCamera (const UT_StringHolder &name) |
| Create a camera. More...
|
|
CoordSysPtr | createCoordSys (const UT_StringHolder &name) |
| Create a coordinate system. More...
|
|
MaterialPtr | createMaterial (const UT_StringHolder &name) |
| Create a material. More...
|
|
ObjectPtr | createGeometry (const GT_PrimitiveHandle &prim) |
|
ObjectPtr | createGeometry (const GT_PrimitiveHandle &prim, const GT_DataArrayHandle &holes) |
| For polygonal meshes, use this to create geometry to handle holes. More...
|
|
ObjectPtr | createVolume (const UT_StringHolder &name) |
|
ObjectPtr | createInstance (const ObjectPtr &obj, const UT_StringHolder &name) |
| Create an instance of an object (not a light) More...
|
|
ObjectPtr | createScene () |
| Create a nested scene graph. More...
|
|
LightInstancerPtr | createLightInstancer (const UT_StringHolder &name) |
| Create a light instancer. More...
|
|
ObjectPtr | createProcedural (UT_UniquePtr< BRAY_Procedural > proc) |
|
MaterialPtr | findMaterial (const UT_StringRef &name) const |
| Find a material. More...
|
|
bool | destroyMaterial (const UT_StringRef &name) |
| Destroy/Delete a material (returns false if material wasn't found) More...
|
|
bool | addTraceset (const UT_StringHolder &name) |
|
bool | isTraceset (const UT_StringHolder &name) |
| Check to see if a traceset exists. More...
|
|
ShaderGraphPtr | createShaderGraph (const UT_StringHolder &name) |
| Create a shader nodegraph. More...
|
|
bool | loadHDA (const char *path) |
|
|
void | setSceneUnits (fpreal64 units) |
|
fpreal64 | sceneUnits () const |
|
|
SYS_SAFE_BOOL | operator bool () const |
|
const BRAY_Scene * | scenePtr () const |
|
BRAY_Scene * | scenePtr () |
|
|
OptionSet | sceneOptions () |
|
const OptionSet | constSceneOptions () const |
|
|
OptionSet | objectProperties () |
|
const OptionSet | constObjectProperties () const |
|
|
OptionSet | lightProperties () |
|
const OptionSet | constLightProperties () const |
|
OptionSet | cameraProperties () |
|
const OptionSet | constCameraProperties () const |
|
|
template<typename T > |
SYS_FORCE_INLINE const T * | optionImport (BRAY_SceneOption token, T *val, size_t n) const |
|
template<typename T > |
SYS_FORCE_INLINE bool | setOption (BRAY_SceneOption token, const T *value, exint tuple_size) |
| Interface to set an option. This template class is specialized for: More...
|
|
template<typename T > |
SYS_FORCE_INLINE bool | setOption (BRAY_SceneOption token, const T &value) |
| Simple interface to set a scalar option. More...
|
|
SYS_FORCE_INLINE exint | optionSize (BRAY_SceneOption token) const |
|
SYS_FORCE_INLINE GT_Storage | optionStorage (BRAY_SceneOption token) const |
| Return the storage class of an option. More...
|
|
SYS_FORCE_INLINE bool | optionIsVariadic (BRAY_SceneOption token) const |
| Return whether an option has variadic arguments. More...
|
|
bool | optionB (BRAY_SceneOption t) const |
|
int64 | optionI (BRAY_SceneOption t) const |
|
fpreal64 | optionF (BRAY_SceneOption t) const |
|
UT_StringHolder | optionS (BRAY_SceneOption t) const |
|
|
template<typename T > |
SYS_FORCE_INLINE const T * | propertyImport (BRAY_ObjectProperty token, T *val, size_t n) const |
|
template<typename T > |
SYS_FORCE_INLINE bool | setProperty (BRAY_ObjectProperty token, const T *value, exint tuple_size) |
| Interface to set an property. This template class is specialized for: More...
|
|
bool | lockProperty (BRAY_ObjectProperty token, bool state) |
|
exint | lockProperties (const char *pattern, bool state) |
|
SYS_FORCE_INLINE exint | lockAllObjectProperties (bool state) |
| Lock or unlock all object properties. More...
|
|
template<typename T > |
SYS_FORCE_INLINE bool | setProperty (BRAY_ObjectProperty token, const T &value) |
| Simple interface to set a scalar property. More...
|
|
SYS_FORCE_INLINE exint | propertySize (BRAY_ObjectProperty token) const |
|
SYS_FORCE_INLINE GT_Storage | propertyStorage (BRAY_ObjectProperty token) const |
| Return the storage class of an option. More...
|
|
SYS_FORCE_INLINE bool | propertyIsVariadic (BRAY_ObjectProperty token) const |
| Return whether an property has variadic arguments. More...
|
|
bool | propertyB (BRAY_SceneOption t) const |
|
int64 | propertyI (BRAY_SceneOption t) const |
|
fpreal64 | propertyF (BRAY_SceneOption t) const |
|
UT_StringHolder | propertyS (BRAY_SceneOption t) const |
|