Blender V5.3
hydra/volume.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/volume.h>
12
14
15class HdCyclesVolume final : public HdCyclesGeometry<PXR_NS::HdVolume, CCL_NS::Volume> {
16 public:
17 HdCyclesVolume(const PXR_NS::SdfPath &rprimId);
18 ~HdCyclesVolume() override;
19
20 PXR_NS::HdDirtyBits GetInitialDirtyBitsMask() const override;
21
22 private:
23 void Populate(PXR_NS::HdSceneDelegate *sceneDelegate,
24 PXR_NS::HdDirtyBits dirtyBits,
25 bool &rebuild) override;
26};
27
#define final(a, b, c)
Definition BLI_hash_c.hh:21
HdCyclesGeometry(const PXR_NS::SdfPath &rprimId)
Definition geometry.inl:27
PXR_NS::HdDirtyBits GetInitialDirtyBitsMask() const override
HdCyclesVolume(const PXR_NS::SdfPath &rprimId)
~HdCyclesVolume() override
#define HDCYCLES_NAMESPACE_CLOSE_SCOPE