OmegaEngine API
1.0.3
|
A 2D grid of ByteVector4 values that can be stored in ARGB PNG files. More...
Public Member Functions | |
ByteVector4Grid (int width, int height) | |
ByteVector4Grid ([NotNull] ByteVector4[,] data) | |
override unsafe Bitmap | GenerateBitmap () |
Generates a bitmap representation of the grid. | |
Public Member Functions inherited from OmegaEngine.Values.Grid< ByteVector4 > | |
T | ClampedRead (int x, int y) |
Reads a value in the grid and automatically clamps out of bound values of x or y . More... | |
void | Save ([NotNull, Localizable(false)] string path) |
Saves the grid to a PNG file. More... | |
void | Save ([NotNull] Stream stream) |
Saves the grid to a PNG stream. More... | |
Static Public Member Functions | |
static ByteVector4Grid | Load ([NotNull] Stream stream) |
Loads a grid from a PNG stream. More... | |
Additional Inherited Members | |
Public Attributes inherited from OmegaEngine.Values.Grid< ByteVector4 > | |
int | Width |
The width of the grid (number of values along the X axis). More... | |
int | Height |
The height of the grid (number of values along the Y axis). More... | |
Protected Member Functions inherited from OmegaEngine.Values.Grid< ByteVector4 > | |
Grid (int width, int height) | |
Creates a new empty grid. More... | |
Grid (T[,] data) | |
Creates a new grid based on an existing array. More... | |
Protected Attributes inherited from OmegaEngine.Values.Grid< ByteVector4 > | |
internal readonly T [,] | Data |
The internal array containing the values. More... | |
Properties inherited from OmegaEngine.Values.Grid< ByteVector4 > | |
virtual T | this[int x, int y] [get, set] |
A 2D grid of ByteVector4 values that can be stored in ARGB PNG files.
|
inlinestatic |
Loads a grid from a PNG stream.