31#ifndef PXR_IMAGING_HD_VISIBILITY_SCHEMA_H
32#define PXR_IMAGING_HD_VISIBILITY_SCHEMA_H
34#include "pxr/imaging/hd/api.h"
36#include "pxr/imaging/hd/schema.h"
38PXR_NAMESPACE_OPEN_SCOPE
42#define HDVISIBILITY_SCHEMA_TOKENS \
47 HDVISIBILITY_SCHEMA_TOKENS);
51class HdVisibilitySchema :
public HdSchema
54 HdVisibilitySchema(HdContainerDataSourceHandle container)
60 HdBoolDataSourceHandle GetVisibility();
70 static HdContainerDataSourceHandle
72 const HdBoolDataSourceHandle &visibility
86 const HdBoolDataSourceHandle &visibility);
90 HdContainerDataSourceHandle
Build();
93 HdBoolDataSourceHandle _visibility;
102 static HdVisibilitySchema GetFromParent(
103 const HdContainerDataSourceHandle &fromParentContainer);
108 static const TfToken &GetSchemaToken();
117PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.