35#ifndef PXR_IMAGING_HD_VISIBILITY_SCHEMA_H
36#define PXR_IMAGING_HD_VISIBILITY_SCHEMA_H
40#include "pxr/imaging/hd/api.h"
42#include "pxr/imaging/hd/schema.h"
47PXR_NAMESPACE_OPEN_SCOPE
52#define HD_VISIBILITY_SCHEMA_TOKENS \
56 HD_VISIBILITY_SCHEMA_TOKENS);
61class HdVisibilitySchema :
public HdSchema
67 HdVisibilitySchema(HdContainerDataSourceHandle container)
76 static HdVisibilitySchema GetFromParent(
77 const HdContainerDataSourceHandle &fromParentContainer);
88 HdBoolDataSourceHandle GetVisibility()
const;
98 static const TfToken &GetSchemaToken();
118 static HdContainerDataSourceHandle
120 const HdBoolDataSourceHandle &visibility
134 const HdBoolDataSourceHandle &visibility);
138 HdContainerDataSourceHandle
Build();
141 HdBoolDataSourceHandle _visibility;
148PXR_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.