struct to hold Image data Generated from class MR.Image. Derived classes: Direct: (non-virtual) MR.MeshTexture This is the const half of the class.
More...
|
| virtual void | Dispose () |
| unsafe | Const_Image () |
| | Constructs an empty (default-constructed) instance.
|
| unsafe | Const_Image (MR.Std._ByValue_Vector_MRColor pixels, MR.Vector2i resolution) |
| | Constructs MR.Image elementwise.
|
| unsafe | Const_Image (MR._ByValue_Image _other) |
| | Generated from constructor MR.Image.Image.
|
| | Const_Image (Const_Image _other) |
| | Generated from constructor MR.Image.Image.
|
| | Const_Image (Image _other) |
| | Generated from constructor MR.Image.Image.
|
| unsafe ulong | heapBytes () |
| | returns the amount of memory this object occupies on heap Generated from method MR.Image.heapBytes.
|
| unsafe MR.Color | sampleDiscrete (in MR.Vector2f pos) |
| | Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns the color of the closest pixel Generated from method MR.Image.sampleDiscrete.
|
| unsafe MR.Color | sampleBilinear (in MR.Vector2f pos) |
| | Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns bilinear interpolated color at it Generated from method MR.Image.sampleBilinear.
|
| unsafe MR.Color | sample (MR.FilterType filter, in MR.Vector2f pos) |
| | Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns sampled color at it according to given filter Generated from method MR.Image.sample.
|
|
| virtual unsafe void | Dispose (bool disposing) |
struct to hold Image data Generated from class MR.Image. Derived classes: Direct: (non-virtual) MR.MeshTexture This is the const half of the class.
◆ Const_Image() [1/5]
| unsafe MR.Const_Image.Const_Image |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_Image() [2/5]
| unsafe MR.Const_Image.Const_Image |
( |
MR.Std._ByValue_Vector_MRColor | pixels, |
|
|
MR.Vector2i | resolution ) |
|
inline |
◆ Const_Image() [3/5]
| unsafe MR.Const_Image.Const_Image |
( |
MR._ByValue_Image | _other | ) |
|
|
inline |
◆ Const_Image() [4/5]
◆ Const_Image() [5/5]
| MR.Const_Image.Const_Image |
( |
Image | _other | ) |
|
|
inline |
◆ Dispose() [1/2]
| virtual void MR.Const_Image.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_Image.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ heapBytes()
| unsafe ulong MR.Const_Image.heapBytes |
( |
| ) |
|
|
inline |
returns the amount of memory this object occupies on heap Generated from method MR.Image.heapBytes.
◆ sample()
Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns sampled color at it according to given filter Generated from method MR.Image.sample.
◆ sampleBilinear()
Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns bilinear interpolated color at it Generated from method MR.Image.sampleBilinear.
◆ sampleDiscrete()
Given texture position in [0,1]x[0,1] (which is clamped if necessary), returns the color of the closest pixel Generated from method MR.Image.sampleDiscrete.
◆ __ref_storage_resolution
| unsafe MR.Vector2i* MR.Const_Image.__ref_storage_resolution |
|
protected |
◆ pixels
| unsafe MR.Std.Const_Vector_MRColor MR.Const_Image.pixels |
|
getprotected set |
◆ resolution
| unsafe ref readonly MR.Vector2i MR.Const_Image.resolution |
|
get |
◆ this[in MR.Vector2i p]
Generated from method MR::Image::operator[].
The documentation for this class was generated from the following file: