Loading...
Searching...
No Matches
gprimbase.h
1//
2// Copyright 2019 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_GPRIMBASE_H
8#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_GPRIMBASE_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hd/rprim.h"
12
13#include <Riley.h>
14#include <RileyIds.h>
15
16#include <vector>
17
18PXR_NAMESPACE_OPEN_SCOPE
19
22{
23public:
24 HdPrman_GprimBase() = default;
25 virtual ~HdPrman_GprimBase() = 0;
26
27 std::vector<riley::GeometryPrototypeId> GetPrototypeIds() const;
28
29protected:
30 std::vector<riley::GeometryPrototypeId> _prototypeIds;
31 std::vector<riley::GeometryInstanceId> _instanceIds;
32};
33
34PXR_NAMESPACE_CLOSE_SCOPE
35
36#endif // EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_GPRIMBASE_H
A common base class for HdPrman_Gprim types.
Definition: gprimbase.h:22