All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
volume.h
1//
2// Copyright 2018 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_IMAGING_HD_VOLUME_H
8#define PXR_IMAGING_HD_VOLUME_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hd/api.h"
12#include "pxr/imaging/hd/version.h"
13#include "pxr/imaging/hd/rprim.h"
14
15#include <vector>
16
17PXR_NAMESPACE_OPEN_SCOPE
18
19using HdVolumePtrConstVector = std::vector<class HdVolume const *>;
20
25class HdVolume : public HdRprim
26{
27public:
28 HD_API
29 HdVolume(SdfPath const& id);
30
31 HD_API
32 ~HdVolume() override;
33
34 HD_API
35 TfTokenVector const & GetBuiltinPrimvarNames() const override;
36};
37
38PXR_NAMESPACE_CLOSE_SCOPE
39
40#endif // PXR_IMAGING_HD_VOLUME_H
The render engine state for a given rprim from the scene graph.
Definition: rprim.h:38
Hd schema for a renderable volume primitive.
Definition: volume.h:26
HD_API TfTokenVector const & GetBuiltinPrimvarNames() const override
Returns the names of built-in primvars, i.e.
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:274
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440