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
HdEmbreeInstanceContext Class Reference

A small bit of state attached to each bit of instanced geometry in embree, for the benefit of HdEmbreeRenderer::_TraceRay. More...

#include <context.h>

Public Attributes

GfMatrix4f objectToWorldMatrix
 The object-to-world transform, for transforming normals to worldspace.
 
RTCScene rootScene
 The scene the prototype geometry lives in, for passing to rtcInterpolate.
 
int32_t instanceId
 The instance id of this instance.
 

Detailed Description

A small bit of state attached to each bit of instanced geometry in embree, for the benefit of HdEmbreeRenderer::_TraceRay.

Definition at line 45 of file context.h.

Member Data Documentation

◆ instanceId

int32_t instanceId

The instance id of this instance.

Definition at line 53 of file context.h.

◆ objectToWorldMatrix

GfMatrix4f objectToWorldMatrix

The object-to-world transform, for transforming normals to worldspace.

Definition at line 48 of file context.h.

◆ rootScene

RTCScene rootScene

The scene the prototype geometry lives in, for passing to rtcInterpolate.

Definition at line 51 of file context.h.


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