Loading...
Searching...
No Matches
basisCurves.h
1//
2// Copyright 2019 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_BASIS_CURVES_H
8#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_BASIS_CURVES_H
9
10#include "pxr/pxr.h"
11#include "hdPrman/gprim.h"
12#include "pxr/imaging/hd/basisCurves.h"
13
14#include "Riley.h"
15
16PXR_NAMESPACE_OPEN_SCOPE
17
18class HdPrman_BasisCurves final : public HdPrman_Gprim<HdBasisCurves>
19{
20public:
22
23 HF_MALLOC_TAG_NEW("new HdPrman_BasisCurves");
24
25 HdPrman_BasisCurves(SdfPath const& id);
26
27 HdDirtyBits GetInitialDirtyBitsMask() const override;
28protected:
29 bool _ConvertGeometry(
30 HdPrman_RenderParam *renderParam,
31 HdSceneDelegate *sceneDelegate,
32 const SdfPath &id,
33 RtUString *primType,
34 RtPrimVarList *primvars,
35 std::vector<HdGeomSubset> *geomSubsets,
36 std::vector<RtPrimVarList> *geomSubsetPrimvars) override;
37};
38
39PXR_NAMESPACE_CLOSE_SCOPE
40
41#endif // EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_BASIS_CURVES_H
A mix-in template that adds shared gprim behavior to support various HdRprim types.
Definition: gprim.h:30
Adapter class providing data exchange with the client scene graph.
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:274