Loading...
Searching...
No Matches
conicalFrustum.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_CONICAL_FRUSTUM_H
8#define PXR_IMAGING_HD_ST_CONICAL_FRUSTUM_H
9
10#include "pxr/imaging/hdSt/implicitSurface.h"
11
12PXR_NAMESPACE_OPEN_SCOPE
13
19template <bool IsCone>
21{
22public:
23 HF_MALLOC_TAG_NEW("new HdStConicalFrustum");
24
25 HDST_API
26 explicit HdStConicalFrustum(SdfPath const &id);
27
28 HDST_API
29 ~HdStConicalFrustum() override = default;
30
31protected:
32 HDST_API
33 void _PopulateCustomConstantPrimvars(HdSceneDelegate *sceneDelegate,
34 HdRenderParam *renderParam,
35 HdStDrawItem *drawItem) override;
36};
37
38
39PXR_NAMESPACE_CLOSE_SCOPE
40
41#endif // PXR_IMAGING_HD_ST_CONICAL_FRUSTUM_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 conical frustum (including cylinders and cones) that can be rendered natively by Storm.
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