Module attribute
Contains all meta data attributes.
Each layer can have any number of Attributes, including custom
attributes.
Modules
-
block_type_strings
The string literals used to represent a
BlockTypein a file. - type_names Contains string literals identifying the type of an attribute.
Structs
- ChannelDescription A single channel in an layer. Does not contain the actual pixel data, but instead merely describes it.
- ChannelList A List of channels. Channels must be sorted alphabetically.
- Chromaticities The color space of the pixels.
- FloatRect A rectangular section anywhere in 2D float space.
-
IntegerBounds
A rectangular section anywhere in 2D integer space.
Valid from minimum coordinate (including)
-1,073,741,822to maximum coordinate (including)1,073,741,822, the value of (i32::MAX/2 -1). - KeyCode Uniquely identifies a motion picture film frame.
-
Preview
A small
rgbaimage ofi8values that approximates the real exr image. - Text A byte array with each byte being a char. This is not UTF and it must be constructed from a standard string.
- TileDescription Describes how the layer is divided into tiles. Specifies the size of each tile in the image and whether this image contains multiple resolution levels.
-
TimeCode
Contains time information for this frame within a sequence.
Also defined methods to compile this information into a
TV60,TV50orFilm24bit sequence, packed intou32.
Enums
- AttributeValue Contains one of all possible attributes. Includes a variant for custom attributes.
- BlockType layer type, specifies block type and deepness.
- Compression Specifies which compression method to use.
- EnvironmentMap If this attribute is present, it describes how this texture should be projected onto an environment.
- LevelMode Whether to also store increasingly smaller versions of the original image.
-
LineOrder
In what order the
Blocks of pixel data appear in a file. - SampleType The type of samples in this channel.
Functions
Type Aliases
- DataWindow The integer rectangle describing where an layer is placed on the infinite 2D global space.
- DisplayWindow The integer rectangle limiting which part of the infinite 2D global space should be displayed.
- Matrix3x3 A float matrix with three rows and three columns.
- Matrix4x4 A float matrix with four rows and four columns.
- Rational An integer dividend and divisor, together forming a ratio.
-
TextBytes
The raw bytes that make up a string in an exr file.
Each
u8is a single char. - TextSlice A byte slice, interpreted as text