![]() |
|
Describes how the geometry of a prim should be displayed. More...
Public Member Functions | |
HdDisplayStyle () | |
Creates a default DisplayStyle. More... | |
HdDisplayStyle (int refineLevel_, bool flatShading=false, bool displacement=true, bool occludedSelectionShowsThrough_=false, bool pointsShadingEnabled_=false, bool materialIsFinal_=false) | |
Creates a DisplayStyle. More... | |
HdDisplayStyle (HdDisplayStyle const &rhs)=default | |
bool | operator== (HdDisplayStyle const &rhs) const |
bool | operator!= (HdDisplayStyle const &rhs) const |
Public Attributes | |
int | refineLevel |
The prim refine level, in the range [0, 8]. More... | |
bool | flatShadingEnabled |
Is the prim flat shaded. More... | |
bool | displacementEnabled |
Is the prim displacement shaded. More... | |
bool | occludedSelectionShowsThrough |
Does the prim act "transparent" to allow occluded selection to show through? More... | |
bool | pointsShadingEnabled |
Should the prim's points get shaded like surfaces, as opposed to constant shaded? More... | |
bool | materialIsFinal |
Is this prim exempt from having its material disabled or overridden, for example, when a renderer chooses to ignore all scene materials? More... | |
Describes how the geometry of a prim should be displayed.
Definition at line 80 of file sceneDelegate.h.
|
inline |
Creates a default DisplayStyle.
Definition at line 108 of file sceneDelegate.h.
|
inline |
Creates a DisplayStyle.
refineLevel_ | the refine level to display. Valid range is [0, 8]. |
flatShading | enables flat shading, defaults to false. |
displacement | enables displacement shading, defaults to false. |
occludedSelectionShowsThrough | controls whether the prim lets occluded selection show through it, defaults to false. |
pointsShadingEnabled | controls whether the prim's points are shaded as surfaces or constant-shaded, defaults to false. |
materialisFinal | controls whether the prim's material should be exempt from override or disabling, such as when a renderer wants to ignore all scene materials. |
Definition at line 129 of file sceneDelegate.h.
bool displacementEnabled |
Is the prim displacement shaded.
Definition at line 88 of file sceneDelegate.h.
bool flatShadingEnabled |
Is the prim flat shaded.
Definition at line 85 of file sceneDelegate.h.
bool materialIsFinal |
Is this prim exempt from having its material disabled or overridden, for example, when a renderer chooses to ignore all scene materials?
Definition at line 100 of file sceneDelegate.h.
bool occludedSelectionShowsThrough |
Does the prim act "transparent" to allow occluded selection to show through?
Definition at line 92 of file sceneDelegate.h.
bool pointsShadingEnabled |
Should the prim's points get shaded like surfaces, as opposed to constant shaded?
Definition at line 96 of file sceneDelegate.h.
int refineLevel |
The prim refine level, in the range [0, 8].
Definition at line 82 of file sceneDelegate.h.