This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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, std::atomic< int > *sceneVersion)
 
RTCScene AcquireSceneForEdit ()
 Accessor for the top-level embree scene.
 
RTCDevice GetEmbreeDevice ()
 Accessor for the top-level embree device (library handle).
 

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 25 of file renderParam.h.

Constructor & Destructor Documentation

◆ HdEmbreeRenderParam()

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

Definition at line 28 of file renderParam.h.

Member Function Documentation

◆ AcquireSceneForEdit()

RTCScene AcquireSceneForEdit ( )
inline

Accessor for the top-level embree scene.

Definition at line 36 of file renderParam.h.

◆ GetEmbreeDevice()

RTCDevice GetEmbreeDevice ( )
inline

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

Definition at line 42 of file renderParam.h.


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