Loading...
Searching...
No Matches
HdEmbreeRenderParam Class Referencefinal

The render delegate can create an object of type HdRenderParam, to pass to each prim during Sync(). More...

#include <renderParam.h>

+ Inheritance diagram for HdEmbreeRenderParam:

Public Member Functions

 HdEmbreeRenderParam (RTCDevice device, RTCScene scene, HdRenderThread *renderThread, HdEmbreeRenderer *renderer, std::atomic< int > *sceneVersion)
 
RTCScene AcquireSceneForEdit ()
 Accessor for the top-level embree scene.
 
RTCDevice GetEmbreeDevice ()
 Accessor for the top-level embree device (library handle).
 
HdEmbreeRendererGetRenderer ()
 
- Public Member Functions inherited from HdRenderParam
virtual HD_API bool SetArbitraryValue (const TfToken &key, const VtValue &value)
 Set a custom value in the render param's implementation.
 
virtual HD_API VtValue GetArbitraryValue (const TfToken &key) const
 Retrieve a custom value identified by key from the render param's implementation.
 
virtual HD_API bool HasArbitraryValue (const TfToken &key) const
 Check whether a valid custom value exists for the specified key in the render param's implementation.
 
virtual HD_API bool IsValid () const
 

Detailed Description

The render delegate can create an object of type HdRenderParam, to pass to each prim during Sync().

HdEmbree uses this class to pass top-level embree state around.

Definition at line 27 of file renderParam.h.

Constructor & Destructor Documentation

◆ HdEmbreeRenderParam()

HdEmbreeRenderParam ( RTCDevice  device,
RTCScene  scene,
HdRenderThread renderThread,
HdEmbreeRenderer renderer,
std::atomic< int > *  sceneVersion 
)
inline

Definition at line 30 of file renderParam.h.

Member Function Documentation

◆ AcquireSceneForEdit()

RTCScene AcquireSceneForEdit ( )
inline

Accessor for the top-level embree scene.

Definition at line 39 of file renderParam.h.

◆ GetEmbreeDevice()

RTCDevice GetEmbreeDevice ( )
inline

Accessor for the top-level embree device (library handle).

Definition at line 45 of file renderParam.h.

◆ GetRenderer()

HdEmbreeRenderer * GetRenderer ( )
inline

Definition at line 47 of file renderParam.h.


The documentation for this class was generated from the following file: