24 #ifndef PXR_IMAGING_HD_BASIS_CURVES_H
25 #define PXR_IMAGING_HD_BASIS_CURVES_H
34 #define HD_BASISCURVES_REPR_DESC_TOKENS \
36 (surfaceShaderUnlit) \
104 HdBasisCurves() =
delete;
105 HdBasisCurves(
const HdBasisCurves &) =
delete;
106 HdBasisCurves &operator =(
const HdBasisCurves &) =
delete;
126 #endif // PXR_IMAGING_HD_BASIS_CURVES_H
HD_API ~HdBasisCurves() override
HdBasisCurvesTopology GetBasisCurvesTopology(HdSceneDelegate *delegate) const
HD_API TfTokenVector const & GetBuiltinPrimvarNames() const override
virtual HD_API HdBasisCurvesTopology GetBasisCurvesTopology(SdfPath const &id)
Gets the topological curve data for a given prim.
HdBasisCurvesReprDesc(HdBasisCurvesGeomStyle geomStyle=HdBasisCurvesGeomStyleInvalid, TfToken shadingTerminal=HdBasisCurvesReprDescTokens->surfaceShader)
static HD_API bool IsEnabledForceRefinedCurves()
Returns whether refinement is always on or not.
virtual HD_API HdDisplayStyle GetDisplayStyle(SdfPath const &id)
std::vector< TfToken > TfTokenVector
Convenience types.
#define HD_BASISCURVES_REPR_DESC_TOKENS
TF_DECLARE_PUBLIC_TOKENS(HdBasisCurvesReprDescTokens, HD_API, HD_BASISCURVES_REPR_DESC_TOKENS)
static HD_API _BasisCurvesReprConfig::DescArray _GetReprDesc(TfToken const &reprName)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
SdfPath const & GetId() const
std::array< DESC_TYPE, N > DescArray
#define PXR_NAMESPACE_CLOSE_SCOPE
HdDisplayStyle GetDisplayStyle(HdSceneDelegate *delegate) const
static HD_API void ConfigureRepr(TfToken const &reprName, HdBasisCurvesReprDesc desc)
Configure geometric style of drawItems for reprName.
HdBasisCurvesGeomStyle geomStyle