7#ifndef PXR_IMAGING_HD_ST_SPHERE_H
8#define PXR_IMAGING_HD_ST_SPHERE_H
11#include "pxr/imaging/hdSt/api.h"
12#include "pxr/imaging/hd/version.h"
13#include "pxr/imaging/hd/rprim.h"
14#include "pxr/imaging/hd/drawingCoord.h"
15#include "pxr/imaging/hd/enums.h"
16#include "pxr/imaging/hd/perfLog.h"
18#include "pxr/usd/sdf/path.h"
21PXR_NAMESPACE_OPEN_SCOPE
30 HF_MALLOC_TAG_NEW(
"new HdStSphere");
48 HdDirtyBits *dirtyBits,
49 TfToken const &reprToken)
override;
67 HdDirtyBits *dirtyBitsState);
71 HdStDrawItem *drawItem,
72 HdDirtyBits *dirtyBits);
76 HdStDrawItem *drawItem);
80 bool updateMaterialNetworkShader,
81 bool updateGeometricShader);
88 HdStDrawItem *drawItem);
92 HdStDrawItem *drawItem);
95 HdReprSharedPtr _sphereDefaultRepr;
97 HdCullStyle _cullStyle;
101 const uint32_t _vertexCount;
103 bool _doubleSided : 1;
104 bool _displayOpacityFromInstancer : 1;
105 bool _displayOpacityFromPrimvars : 1;
106 bool _displayInOverlay : 1;
107 bool _occludedSelectionShowsThrough : 1;
110 InstancePrimvar = HdDrawingCoord::CustomSlotsBegin
115PXR_NAMESPACE_CLOSE_SCOPE
The HdRenderParam is an opaque (to core Hydra) handle, to an object that is obtained from the render ...
The render engine state for a given rprim from the scene graph.
Adapter class providing data exchange with the client scene graph.
Represents a sphere prim that can be rendered natively by Storm.
HDST_API void Sync(HdSceneDelegate *delegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits, TfToken const &reprToken) override
Pull invalidated scene data and prepare/update the renderable representation.
HDST_API HdDirtyBits _PropagateDirtyBits(HdDirtyBits bits) const override
This callback from Rprim gives the prim an opportunity to set additional dirty bits based on those al...
HDST_API void _InitRepr(TfToken const &reprToken, HdDirtyBits *dirtyBits) override
Initialize the given representation of this Rprim.
HDST_API HdDirtyBits GetInitialDirtyBitsMask() const override
Returns the set of dirty bits that should be added to the change tracker for this prim,...
HDST_API TfTokenVector const & GetBuiltinPrimvarNames() const override
Returns the names of built-in primvars, i.e.
HDST_API void Finalize(HdRenderParam *renderParam) override
Finalizes object resources.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
std::vector< TfToken > TfTokenVector
Convenience types.