UdimTileData Struct Reference

#include <previewimageprovider.h>

Detailed Description

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
 

Member Data Documentation

◆ _udimCoordinate

IntVector2d _udimCoordinate

The udim coordinate that this tile corresponds to. Indexing of UDIM tiles starts at (0, 0)

◆ _udimImageSize

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().

◆ _udimSamplesFloat32Linear

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.