7#ifndef PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_ATTRIBUTE_COLORSPACE_H
8#define PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_ATTRIBUTE_COLORSPACE_H
10#include "pxr/usd/usd/attribute.h"
11#include "pxr/usdImaging/usdImaging/api.h"
12#include "pxr/imaging/hd/dataSource.h"
13#include "pxr/imaging/hd/dataSourceTypeDefs.h"
15PXR_NAMESPACE_OPEN_SCOPE
51 HdSampledDataSource::Time startTime,
52 HdSampledDataSource::Time endTime,
53 std::vector<HdSampledDataSource::Time> *outSampleTimes)
override
72PXR_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 if it has been explicitly set.
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.