Loading...
Searching...
No Matches
capsule.h
1//
2// Copyright 2026 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_ST_CAPSULE_H
8#define PXR_IMAGING_HD_ST_CAPSULE_H
9
10#include "pxr/imaging/hdSt/implicitSurface.h"
11
12PXR_NAMESPACE_OPEN_SCOPE
13
18class HdStCapsule final : public HdStImplicitSurface
19{
20public:
21 HF_MALLOC_TAG_NEW("new HdStCapsule");
22
23 HDST_API
24 explicit HdStCapsule(SdfPath const &id);
25
26 HDST_API
27 ~HdStCapsule() override = default;
28
29protected:
30 HDST_API
31 void _PopulateCustomConstantPrimvars(HdSceneDelegate *sceneDelegate,
32 HdRenderParam *renderParam,
33 HdStDrawItem *drawItem) override;
34};
35
36
37PXR_NAMESPACE_CLOSE_SCOPE
38
39#endif // PXR_IMAGING_HD_ST_CAPSULE_H
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
Adapter class providing data exchange with the client scene graph.
Represents a tapered capsule that can be rendered natively by Storm.
Definition capsule.h:19
Base class for natively supported implicit surfaces (e.g., spheres)
A path value used to locate objects in layers or scenegraphs.
Definition path.h:281