HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdModelDrawMode Struct Reference

#include <sceneDelegate.h>

Public Member Functions

 HdModelDrawMode ()
 
 HdModelDrawMode (TfToken const &drawMode_, bool applyDrawMode_=false, GfVec3f drawModeColor_=GfVec3f(0.18), TfToken const &cardGeometry_=HdModelDrawModeTokens->cross, SdfAssetPath cardTextureXPos_=SdfAssetPath(), SdfAssetPath cardTextureYPos_=SdfAssetPath(), SdfAssetPath cardTextureZPos_=SdfAssetPath(), SdfAssetPath cardTextureXNeg_=SdfAssetPath(), SdfAssetPath cardTextureYNeg_=SdfAssetPath(), SdfAssetPath cardTextureZNeg_=SdfAssetPath())
 
bool operator== (HdModelDrawMode const &rhs) const
 
bool operator!= (HdModelDrawMode const &rhs) const
 

Public Attributes

TfToken drawMode
 
bool applyDrawMode
 
GfVec3f drawModeColor
 
TfToken cardGeometry
 
SdfAssetPath cardTextureXPos
 
SdfAssetPath cardTextureYPos
 
SdfAssetPath cardTextureZPos
 
SdfAssetPath cardTextureXNeg
 
SdfAssetPath cardTextureYNeg
 
SdfAssetPath cardTextureZNeg
 

Detailed Description

Describes optional alternative imaging behavior for prims.

Some scene delegates, like the UsdImagingDelegate, will pre-flatten this data, but other scene delegates may wish to use this to pipe the data through to a draw mode resolving scene index (see UsdImagingDrawModeSceneIndex as an example of such a scene index).

There is currently no plan to add emulation support for this information, such as via HdLegacyPrimSceneIndex or HdSceneIndexAdapterSceneDelegate.

Definition at line 217 of file sceneDelegate.h.

Constructor & Destructor Documentation

HdModelDrawMode::HdModelDrawMode ( )
inline

Definition at line 236 of file sceneDelegate.h.

HdModelDrawMode::HdModelDrawMode ( TfToken const &  drawMode_,
bool  applyDrawMode_ = false,
GfVec3f  drawModeColor_ = GfVec3f(0.18),
TfToken const &  cardGeometry_ = HdModelDrawModeTokens->cross,
SdfAssetPath  cardTextureXPos_ = SdfAssetPath(),
SdfAssetPath  cardTextureYPos_ = SdfAssetPath(),
SdfAssetPath  cardTextureZPos_ = SdfAssetPath(),
SdfAssetPath  cardTextureXNeg_ = SdfAssetPath(),
SdfAssetPath  cardTextureYNeg_ = SdfAssetPath(),
SdfAssetPath  cardTextureZNeg_ = SdfAssetPath() 
)
inline

Definition at line 243 of file sceneDelegate.h.

Member Function Documentation

bool HdModelDrawMode::operator!= ( HdModelDrawMode const &  rhs) const
inline

Definition at line 273 of file sceneDelegate.h.

bool HdModelDrawMode::operator== ( HdModelDrawMode const &  rhs) const
inline

Definition at line 261 of file sceneDelegate.h.

Member Data Documentation

bool HdModelDrawMode::applyDrawMode

Definition at line 222 of file sceneDelegate.h.

TfToken HdModelDrawMode::cardGeometry

Definition at line 227 of file sceneDelegate.h.

SdfAssetPath HdModelDrawMode::cardTextureXNeg

Definition at line 232 of file sceneDelegate.h.

SdfAssetPath HdModelDrawMode::cardTextureXPos

Definition at line 229 of file sceneDelegate.h.

SdfAssetPath HdModelDrawMode::cardTextureYNeg

Definition at line 233 of file sceneDelegate.h.

SdfAssetPath HdModelDrawMode::cardTextureYPos

Definition at line 230 of file sceneDelegate.h.

SdfAssetPath HdModelDrawMode::cardTextureZNeg

Definition at line 234 of file sceneDelegate.h.

SdfAssetPath HdModelDrawMode::cardTextureZPos

Definition at line 231 of file sceneDelegate.h.

TfToken HdModelDrawMode::drawMode

Definition at line 220 of file sceneDelegate.h.

GfVec3f HdModelDrawMode::drawModeColor

Definition at line 224 of file sceneDelegate.h.


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