Loading...
Searching...
No Matches
sphere.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_SPHERE_H
8#define PXR_IMAGING_HD_ST_SPHERE_H
9
10#include "pxr/imaging/hdSt/implicitSurface.h"
11
12PXR_NAMESPACE_OPEN_SCOPE
13
18class HdStSphere final : public HdStImplicitSurface
19{
20public:
21 HF_MALLOC_TAG_NEW("new HdStSphere");
22
23 HDST_API
24 explicit HdStSphere(SdfPath const &id);
25
26 HDST_API
27 ~HdStSphere() 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_SPHERE_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.
Base class for natively supported implicit surfaces (e.g., spheres)
Represents a sphere prim that can be rendered natively by Storm.
Definition sphere.h:19
A path value used to locate objects in layers or scenegraphs.
Definition path.h:281