Loading...
Searching...
No Matches
HdImplicitSurfaceReprDesc Class Reference

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

Detailed Description

Descriptor to configure the drawItem for a repr.

Definition at line 33 of file implicitSurface.h.

Constructor & Destructor Documentation

◆ HdImplicitSurfaceReprDesc()

HdImplicitSurfaceReprDesc ( HdImplicitSurfaceGeomStyle geomStyle = HdImplicitSurfaceGeomStyleInvalid,
HdCullStyle cullStyle = HdCullStyleDontCare,
TfToken shadingTerminal = HdImplicitSurfaceReprDescTokens->surfaceShader,
bool blendWireframeColor = true,
bool forceOpaqueRings = true,
bool doubleSided = false )
inline

Definition at line 35 of file implicitSurface.h.

Member Function Documentation

◆ IsEmpty()

bool IsEmpty ( ) const
inline

Definition at line 50 of file implicitSurface.h.

Member Data Documentation

◆ blendWireframeColor

bool blendWireframeColor

Should the wireframe color be blended into the color primvar?

Definition at line 62 of file implicitSurface.h.

◆ cullStyle

HdCullStyle cullStyle

The culling style: draw front faces, back faces, etc.

Definition at line 57 of file implicitSurface.h.

◆ doubleSided

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.

◆ forceOpaqueRings

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.

◆ geomStyle

HdImplicitSurfaceGeomStyle geomStyle

The rendering style: surface, wireframe-only, wireframe-on-surface etc.

Definition at line 55 of file implicitSurface.h.

◆ shadingTerminal

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.


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