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