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

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)
 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...

Detailed Description

Describes how the geometry of a prim should be displayed.

Definition at line 81 of file sceneDelegate.h.

Constructor & Destructor Documentation

HdDisplayStyle ( )

Creates a default DisplayStyle.

  • refineLevel is 0.
  • flatShading is disabled.
  • displacement is enabled.

Definition at line 95 of file sceneDelegate.h.

HdDisplayStyle ( int  refineLevel_,
bool  flatShading = false,
bool  displacement = true 

Creates a DisplayStyle.

refineLevel_the refine level to display. Valid range is [0, 8].
flatShadingenables flat shading, defaults to false.
displacementenables displacement shading, defaults to false.

Definition at line 106 of file sceneDelegate.h.

Member Data Documentation

bool displacementEnabled

Is the prim displacement shaded.

Definition at line 89 of file sceneDelegate.h.

bool flatShadingEnabled

Is the prim flat shaded.

Definition at line 86 of file sceneDelegate.h.

int refineLevel

The prim refine level, in the range [0, 8].

Definition at line 83 of file sceneDelegate.h.

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