#include <previewimageprovider.h>
Defines a single tile of a Udim image. Instances that have been returned (c.f. TakeOutput) are expected to be immutable to allow safe shared ownership of the pixel data.
Public Attributes | |
IntVector2d | _udimCoordinate |
IntVector2d | _udimImageSize |
SamplesFloat32ConstRef | _udimSamplesFloat32Linear |
IntVector2d _udimCoordinate |
The udim coordinate that this tile corresponds to. Indexing of UDIM tiles starts at (0, 0)
IntVector2d _udimImageSize |
The udim tile image size in width and height. Its product has to match the size of @_udimSamplesFloat32Linear, i.e. _udimImageSize.x * _udimImageSize.y = _udimSamplesFloat32Linear->GetCount().
SamplesFloat32ConstRef _udimSamplesFloat32Linear |
The pixel data of the result preview image in linear color space. Pixels are defined as (r, g, b, a) values in row-major order.