![]() |
|
Descriptor to configure the drawItem for a repr. More...
#include <implicitSurface.h>
Public Member Functions | |
| HdImplicitSurfaceReprDesc (HdImplicitSurfaceGeomStyle geomStyle=HdImplicitSurfaceGeomStyleInvalid, HdCullStyle cullStyle=HdCullStyleDontCare, TfToken shadingTerminal=HdImplicitSurfaceReprDescTokens->surfaceShader, bool blendWireframeColor=true, bool forceOpaqueRings=true, bool doubleSided=false) | |
| bool | IsEmpty () const |
Public Attributes | |
| HdImplicitSurfaceGeomStyle | geomStyle |
| The rendering style: surface, wireframe-only, wireframe-on-surface etc. | |
| HdCullStyle | cullStyle |
| The culling style: draw front faces, back faces, etc. | |
| TfToken | shadingTerminal |
| Specifies how the fragment color should be computed from surfaceShader; this can be used to render the surface lit, unlit, unshaded, etc. | |
| bool | blendWireframeColor |
| Should the wireframe color be blended into the color primvar? | |
| bool | forceOpaqueRings |
| If the geom style includes wireframe lines, should those lines be forced to be fully opaque, ignoring any applicable opacity inputs. | |
| bool | doubleSided |
| Should this surface be treated as double-sided? The resolved value is (prim.doubleSided || repr.doubleSided). | |
Descriptor to configure the drawItem for a repr.
Definition at line 33 of file implicitSurface.h.
|
inline |
Definition at line 35 of file implicitSurface.h.
|
inline |
Definition at line 50 of file implicitSurface.h.
| bool blendWireframeColor |
Should the wireframe color be blended into the color primvar?
Definition at line 62 of file implicitSurface.h.
| HdCullStyle cullStyle |
The culling style: draw front faces, back faces, etc.
Definition at line 57 of file implicitSurface.h.
| bool doubleSided |
Should this surface be treated as double-sided? The resolved value is (prim.doubleSided || repr.doubleSided).
Definition at line 68 of file implicitSurface.h.
| bool forceOpaqueRings |
If the geom style includes wireframe lines, should those lines be forced to be fully opaque, ignoring any applicable opacity inputs.
Definition at line 65 of file implicitSurface.h.
| HdImplicitSurfaceGeomStyle geomStyle |
The rendering style: surface, wireframe-only, wireframe-on-surface etc.
Definition at line 55 of file implicitSurface.h.
| TfToken shadingTerminal |
Specifies how the fragment color should be computed from surfaceShader; this can be used to render the surface lit, unlit, unshaded, etc.
Definition at line 60 of file implicitSurface.h.