Arguments to HdRendererPlugin::IsSupported and CreateRenderer.
More...
#include <rendererCreateArgsSchema.h>
|
| class | Builder |
| | Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. More...
|
| |
|
|
| HD_API HdBoolDataSourceHandle | GetGpuEnabled () const |
| | Is a GPU available.
|
| |
| HD_API HdSampledDataSourceContainerSchema | GetDrivers () const |
| | Drivers such as Hgi that renderer can use.
|
| |
| | HdSchema (HdContainerDataSourceHandle container) |
| |
| HD_API HdContainerDataSourceHandle | GetContainer () const |
| | Returns the container data source that this schema is interpreting.
|
| |
|
HD_API bool | IsDefined () const |
| |
| | operator bool () const |
| | Returns true if this schema is applied on top of a non-null container.
|
| |
Arguments to HdRendererPlugin::IsSupported and CreateRenderer.
Definition at line 52 of file rendererCreateArgsSchema.h.
◆ HdRendererCreateArgsSchema()
◆ BuildRetained()
| static HD_API HdContainerDataSourceHandle BuildRetained |
( |
const HdBoolDataSourceHandle & |
gpuEnabled, |
|
|
const HdContainerDataSourceHandle & |
drivers |
|
) |
| |
|
static |
- Deprecated:
- Use Builder instead.
Builds a container data source which includes the provided child data sources. Parameters with nullptr values are excluded. This is a low-level interface. For cases in which it's desired to define the container with a sparse set of child fields, the Builder class is often more convenient and readable.
◆ GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
◆ GetDrivers()
Drivers such as Hgi that renderer can use.
◆ GetDriversLocator()
Prim-level relative data source locator to locate drivers.
◆ GetFromParent()
Retrieves a container data source with the schema's default name token "rendererCreateArgs" from the parent container and constructs a HdRendererCreateArgsSchema instance.
Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
◆ GetGpuEnabled()
| HD_API HdBoolDataSourceHandle GetGpuEnabled |
( |
| ) |
const |
◆ GetGpuEnabledLocator()
Prim-level relative data source locator to locate gpuEnabled.
◆ GetSchemaToken()
| static HD_API const TfToken & GetSchemaToken |
( |
| ) |
|
|
static |
Returns a token where the container representing this schema is found in a container by default.
The documentation for this class was generated from the following file: