Blender  V3.3
hydra/curves.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0
2  * Copyright 2022 NVIDIA Corporation
3  * Copyright 2022 Blender Foundation */
4 
5 #pragma once
6 
7 #include "hydra/config.h"
8 #include "hydra/geometry.h"
9 
10 #include <pxr/imaging/hd/basisCurves.h>
11 
13 
14 class HdCyclesCurves final : public HdCyclesGeometry<PXR_NS::HdBasisCurves, CCL_NS::Hair> {
15  public:
17  const PXR_NS::SdfPath &rprimId
18 #if PXR_VERSION < 2102
19  ,
20  const PXR_NS::SdfPath &instancerId = {}
21 #endif
22  );
23  ~HdCyclesCurves() override;
24 
25  PXR_NS::HdDirtyBits GetInitialDirtyBitsMask() const override;
26 
27  private:
28  PXR_NS::HdDirtyBits _PropagateDirtyBits(PXR_NS::HdDirtyBits bits) const override;
29 
30  void Populate(PXR_NS::HdSceneDelegate *sceneDelegate,
31  PXR_NS::HdDirtyBits dirtyBits,
32  bool &rebuild) override;
33 
34  void PopulatePoints(PXR_NS::HdSceneDelegate *sceneDelegate);
35  void PopulateWidths(PXR_NS::HdSceneDelegate *sceneDelegate);
36 
37  void PopulatePrimvars(PXR_NS::HdSceneDelegate *sceneDelegate);
38 
39  void PopulateTopology(PXR_NS::HdSceneDelegate *sceneDelegate);
40 };
41 
#define final(a, b, c)
Definition: BLI_hash.h:21
HdCyclesCurves(const PXR_NS::SdfPath &rprimId, const PXR_NS::SdfPath &instancerId={})
PXR_NS::HdDirtyBits GetInitialDirtyBitsMask() const override
~HdCyclesCurves() override
#define HDCYCLES_NAMESPACE_CLOSE_SCOPE
Definition: hydra/config.h:17