HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
context.h File Reference
#include "pxr/pxr.h"
#include "hdPrman/api.h"
#include "hdPrman/xcpt.h"
#include "pxr/base/gf/matrix4d.h"
#include "pxr/base/tf/token.h"
#include "pxr/usd/sdf/path.h"
#include "pxr/imaging/hd/sceneDelegate.h"
#include "pxr/imaging/hd/coordSys.h"
#include "Riley.h"
#include <thread>
#include <unordered_map>
#include <mutex>
+ Include dependency graph for context.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HdPrman_Context
 

Macros

#define HDPRMAN_MAX_TIME_SAMPLES   4
 

Typedefs

typedef std::map< SdfPath,
std::vector< float > > 
HdPrman_TimeSampleMap
 Hierarchical map of scene ids to sample times. More...
 

Functions

RtMatrix4x4 HdPrman_GfMatrixToRtMatrix (const GfMatrix4d &m)
 
GfMatrix4d HdPrman_RtMatrixToGfMatrix (const RtMatrix4x4 &m)
 
void HdPrman_ConvertPrimvars (HdSceneDelegate *sceneDelegate, SdfPath const &id, RtParamList &primvars, int numUniform, int numVertex, int numVarying, int numFaceVarying)
 
bool HdPrman_ResolveMaterial (HdSceneDelegate *sceneDelegate, SdfPath const &hdMaterialId, riley::MaterialId *materialId, riley::DisplacementId *dispId)
 
HDPRMAN_API void HdPrman_UpdateSearchPathsFromEnvironment (RtParamList &options)
 

Macro Definition Documentation

#define HDPRMAN_MAX_TIME_SAMPLES   4

Definition at line 46 of file context.h.

Typedef Documentation

typedef std::map<SdfPath, std::vector<float> > HdPrman_TimeSampleMap

Hierarchical map of scene ids to sample times.

Definition at line 54 of file context.h.

Function Documentation

void HdPrman_ConvertPrimvars ( HdSceneDelegate sceneDelegate,
SdfPath const id,
RtParamList &  primvars,
int  numUniform,
int  numVertex,
int  numVarying,
int  numFaceVarying 
)
RtMatrix4x4 HdPrman_GfMatrixToRtMatrix ( const GfMatrix4d m)
inline

Definition at line 189 of file context.h.

bool HdPrman_ResolveMaterial ( HdSceneDelegate sceneDelegate,
SdfPath const hdMaterialId,
riley::MaterialId *  materialId,
riley::DisplacementId *  dispId 
)
GfMatrix4d HdPrman_RtMatrixToGfMatrix ( const RtMatrix4x4 &  m)
inline

Definition at line 201 of file context.h.

HDPRMAN_API void HdPrman_UpdateSearchPathsFromEnvironment ( RtParamList &  options)

Update the supplied list of options using searchpaths pulled from envrionment variables:

  • RMAN_SHADERPATH
  • RMAN_TEXTUREPATH
  • RMAN_RIXPLUGINPATH
  • RMAN_PROCEDURALPATH