24#ifndef PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_ATTRIBUTE_COLORSPACE_H
25#define PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_ATTRIBUTE_COLORSPACE_H
27#include "pxr/usd/usd/attribute.h"
28#include "pxr/usdImaging/usdImaging/api.h"
29#include "pxr/imaging/hd/dataSource.h"
30#include "pxr/imaging/hd/dataSourceTypeDefs.h"
32PXR_NAMESPACE_OPEN_SCOPE
64 HdSampledDataSource::Time startTime,
65 HdSampledDataSource::Time endTime,
66 std::vector<HdSampledDataSource::Time> *outSampleTimes)
override
85PXR_NAMESPACE_CLOSE_SCOPE
A datasource representing a concretely-typed sampled value.
Token for efficient comparison, assignment, and hashing of known strings.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
USD_API TfToken GetColorSpace() const
Gets the color space in which the attribute is authored.
A data source that represents the metadata on a USD 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.
VtValue GetValue(HdSampledDataSource::Time shutterOffset) override
Returns the VtValue of the colorspace for the attribute.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
#define TF_UNUSED(x)
Stops compiler from producing unused argument or variable warnings.