![]() |
Descriptor to configure the drawItem(s) for a repr. More...
Public Member Functions | |
| HdMeshReprDesc (HdMeshGeomStyle geomStyle=HdMeshGeomStyleInvalid, HdCullStyle cullStyle=HdCullStyleDontCare, TfToken shadingTerminal=HdMeshReprDescTokens->surfaceShader, bool flatShadingEnabled=true, bool blendWireframeColor=true, bool doubleSided=false, float lineWidth=0, bool useCustomDisplacement=true, bool enableScalarOverride=true) | |
| bool | IsEmpty () const |
Public Attributes | |
| HdMeshGeomStyle | geomStyle |
| The rendering style: draw refined/unrefined, edge, points, etc. More... | |
| HdCullStyle | cullStyle |
| The culling style: draw front faces, back faces, etc. More... | |
| TfToken | shadingTerminal |
| Specifies how the fragment color should be computed from surfaceShader; this can be used to render a mesh lit, unlit, unshaded, etc. More... | |
| bool | flatShadingEnabled |
| Does this mesh want flat shading? More... | |
| bool | blendWireframeColor |
| Should the wireframe color be blended into the color primvar? More... | |
| bool | doubleSided |
| Should this mesh be treated as double-sided? The resolved value is (prim.doubleSided || repr.doubleSided). More... | |
| float | lineWidth |
| How big (in pixels) should line drawing be? More... | |
| bool | useCustomDisplacement |
| Should this mesh use displacementShader() to displace points? More... | |
| bool | enableScalarOverride |
| Should scalar override be allowed on this drawItem. More... | |
| bool blendWireframeColor |
| HdCullStyle cullStyle |
| bool doubleSided |
| bool enableScalarOverride |
| HdMeshGeomStyle geomStyle |
| TfToken shadingTerminal |
| bool useCustomDisplacement |