7#ifndef PXR_IMAGING_HD_POINTS_H
8#define PXR_IMAGING_HD_POINTS_H
11#include "pxr/imaging/hd/api.h"
12#include "pxr/imaging/hd/version.h"
13#include "pxr/imaging/hd/rprim.h"
15PXR_NAMESPACE_OPEN_SCOPE
24 HdPointsGeomStyle geomStyle = HdPointsGeomStyleInvalid)
25 : geomStyle(geomStyle)
28 bool IsEmpty()
const {
29 return geomStyle == HdPointsGeomStyleInvalid;
32 HdPointsGeomStyle geomStyle;
59 using _PointsReprConfig = _ReprDescConfigs<HdPointsReprDesc>;
62 static _PointsReprConfig::DescArray _GetReprDesc(
TfToken const &reprName);
71 static _PointsReprConfig _reprDescConfig;
81PXR_NAMESPACE_CLOSE_SCOPE
Hydra Schema for a point cloud.
HD_API HdPoints(SdfPath const &id)
Constructor.
HD_API TfTokenVector const & GetBuiltinPrimvarNames() const override
Returns the names of built-in primvars, i.e.
static HD_API void ConfigureRepr(TfToken const &reprName, const HdPointsReprDesc &desc)
Configure geometric style of drawItems for reprName.
The render engine state for a given rprim from the scene graph.
SdfPath const & GetId() const
Returns the identifier of this Rprim.
Adapter class providing data exchange with the client scene graph.
virtual HD_API HdDisplayStyle GetDisplayStyle(SdfPath const &id)
Returns the display style for the given prim.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
Describes how the geometry of a prim should be displayed.
Descriptor to configure a drawItem for a repr.
std::vector< TfToken > TfTokenVector
Convenience types.