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_25_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_GPRIMBASE_H
8#define EXT_RMANPKG_25_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_GPRIMBASE_H
9
10#include "pxr/pxr.h"
11
12#include <Riley.h>
13#include <RileyIds.h>
14
15#include <vector>
16
17PXR_NAMESPACE_OPEN_SCOPE
18
21{
22public:
23 HdPrman_GprimBase() = default;
24 virtual ~HdPrman_GprimBase() = 0;
25
26 std::vector<riley::GeometryPrototypeId> GetPrototypeIds() const;
27
28protected:
29 std::vector<riley::GeometryPrototypeId> _prototypeIds;
30 std::vector<riley::GeometryInstanceId> _instanceIds;
31};
32
33PXR_NAMESPACE_CLOSE_SCOPE
34
35#endif // EXT_RMANPKG_25_0_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_GPRIM_H
A common base class for HdPrman_Gprim types.
Definition: gprimbase.h:21