HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
volume.h
Go to the documentation of this file.
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 
18 
19 using HdVolumePtrConstVector = std::vector<class HdVolume const *>;
20 
21 /// \class HdVolume
22 ///
23 /// Hd schema for a renderable volume primitive.
24 ///
25 class HdVolume : public HdRprim
26 {
27 public:
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 
39 
40 #endif // PXR_IMAGING_HD_VOLUME_H
#define HD_API
Definition: api.h:23
Definition: rprim.h:37
HD_API HdVolume(SdfPath const &id)
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440
Definition: path.h:273
HD_API TfTokenVector const & GetBuiltinPrimvarNames() const override
HD_API ~HdVolume() override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
std::vector< class HdVolume const * > HdVolumePtrConstVector
Definition: volume.h:19
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74