OpenExrTiling Class
Immutable settings of tiled OpenEXR output (OpenExrEncoder.Tiling): the tile size and the resolution levels.
public sealed class OpenExrTilingRemarks
Each tile is a chunk compressed on its own; a tile at the right or bottom edge of a level is clipped to the level.
The levels below the full resolution (OpenExrLevelMode.MipmapLevels, OpenExrLevelMode.RipmapLevels) are generated by the encoder: each level is the area average of the previous one (a box filter that weights each source pixel by the part of it the destination pixel covers), computed on the samples the file stores, which are the colors premultiplied by alpha. A mipmap level comes from the previous mipmap level; a ripmap level from the level on its left, or, in the first column, from the level above it. The samples of a level are the average of the samples the file stores for its parent level, rounded to the sample type.
Constructors
| Name | Description |
|---|---|
| OpenExrTiling() |
OpenExrTiling()
OpenExrTiling.cspublic OpenExrTiling()No documentation is available.
Properties
| Name | Description |
|---|---|
| LevelMode | Gets the resolution levels the file stores. Defaults to OpenExrLevelMode.OneLevel. |
| LevelRounding | Gets how the sizes of the levels are rounded. Defaults to OpenExrLevelRounding.Down. |
| TileHeight | Gets the height of a tile, in pixels. Defaults to 64. |
| TileWidth | Gets the width of a tile, in pixels. Defaults to 64. |
LevelMode
OpenExrTiling.csGets the resolution levels the file stores. Defaults to OpenExrLevelMode.OneLevel.
public OpenExrLevelMode LevelMode { get; init; }LevelRounding
OpenExrTiling.csGets how the sizes of the levels are rounded. Defaults to OpenExrLevelRounding.Down.
public OpenExrLevelRounding LevelRounding { get; init; }TileHeight
OpenExrTiling.csGets the height of a tile, in pixels. Defaults to 64.
public int TileHeight { get; init; }TileWidth
OpenExrTiling.csGets the width of a tile, in pixels. Defaults to 64.
public int TileWidth { get; init; }