|
A data source that represents the metadata on a USD Attribute. More...
#include <dataSourceAttributeColorSpace.h>
Public Member Functions | |
HD_DECLARE_DATASOURCE (UsdImagingDataSourceAttributeColorSpace) | |
VtValue | GetValue (HdSampledDataSource::Time shutterOffset) override |
Returns the VtValue of the colorspace for the attribute. | |
TfToken | GetTypedValue (HdSampledDataSource::Time shutterOffset) override |
Returns the extracted TfToken value of the color space metadata on the attribute. | |
bool | GetContributingSampleTimesForInterval (HdSampledDataSource::Time startTime, HdSampledDataSource::Time endTime, std::vector< HdSampledDataSource::Time > *outSampleTimes) override |
Returns false since we do not expect the color space value to vary over time. | |
Public Member Functions inherited from HdTypedSampledDataSource< T > | |
HD_DECLARE_DATASOURCE_ABSTRACT (HdTypedSampledDataSource< T >) | |
virtual T | GetTypedValue (Time shutterOffset)=0 |
Returns the value of this data source at frame-relative time shutterOffset , as type T . | |
Public Member Functions inherited from HdSampledDataSource | |
HD_DECLARE_DATASOURCE_ABSTRACT (HdSampledDataSource) | |
virtual VtValue | GetValue (Time shutterOffset)=0 |
Returns the value of this data source at frame-relative time shutterOffset . | |
virtual bool | GetContributingSampleTimesForInterval (Time startTime, Time endTime, std::vector< Time > *outSampleTimes)=0 |
Given a shutter window of interest (startTime and endTime relative to the current frame), return a list of sample times for the caller to query with GetValue such that the caller can reconstruct the signal over the shutter window. | |
Additional Inherited Members | |
Public Types inherited from HdTypedSampledDataSource< T > | |
using | Type = T |
Public Types inherited from HdSampledDataSource | |
using | Time = float |
A data source that represents the metadata on a USD Attribute.
Definition at line 38 of file dataSourceAttributeColorSpace.h.
|
inlineoverridevirtual |
Returns false since we do not expect the color space value to vary over time.
Implements HdSampledDataSource.
Definition at line 63 of file dataSourceAttributeColorSpace.h.
|
inlineoverridevirtual |
Returns the extracted TfToken value of the color space metadata on the attribute.
Implements HdTypedSampledDataSource< T >.
Definition at line 54 of file dataSourceAttributeColorSpace.h.
|
inlineoverridevirtual |
Returns the VtValue of the colorspace for the attribute.
Implements HdSampledDataSource.
Definition at line 46 of file dataSourceAttributeColorSpace.h.