|
| Texture (bool nearest=false, bool repeatX=false, bool repeatY=false, bool mipMap=false) |
|
| Texture (int width, int height, bool nearest=false, bool repeatX=false, bool repeatY=false, bool mipMap=false) |
|
| Texture (string fileName, bool nearest=false, bool repeatX=false, bool repeatY=false, bool mipMap=false) |
|
| Texture (Stream stream, bool nearest=false, bool repeatX=false, bool repeatY=false, bool mipMap=false) |
|
void | Update (byte[] bitmap, int mipMap=0) |
|
void | Update (int mipMap=0) |
|
void | AddMipMap (int mipMap, string fileName) |
|
void | Bind (int unit=0) |
|
void | Dispose () |
|
void | SetRepeatX (bool repeat=true) |
|
void | SetRepeatY (bool repeat=true) |
|
void | SetLinear (bool mipMap=false) |
|
void | SetNearest (bool mipMap=false) |
|
virtual byte[] | Download (int mipMap=0) |
|
Aiv.Fast2D.Texture.Texture |
( |
bool |
nearest = false , |
|
|
bool |
repeatX = false , |
|
|
bool |
repeatY = false , |
|
|
bool |
mipMap = false |
|
) |
| |
|
inline |
Aiv.Fast2D.Texture.Texture |
( |
int |
width, |
|
|
int |
height, |
|
|
bool |
nearest = false , |
|
|
bool |
repeatX = false , |
|
|
bool |
repeatY = false , |
|
|
bool |
mipMap = false |
|
) |
| |
|
inline |
Aiv.Fast2D.Texture.Texture |
( |
string |
fileName, |
|
|
bool |
nearest = false , |
|
|
bool |
repeatX = false , |
|
|
bool |
repeatY = false , |
|
|
bool |
mipMap = false |
|
) |
| |
|
inline |
Aiv.Fast2D.Texture.Texture |
( |
Stream |
stream, |
|
|
bool |
nearest = false , |
|
|
bool |
repeatX = false , |
|
|
bool |
repeatY = false , |
|
|
bool |
mipMap = false |
|
) |
| |
|
inline |
void Aiv.Fast2D.Texture.AddMipMap |
( |
int |
mipMap, |
|
|
string |
fileName |
|
) |
| |
|
inline |
void Aiv.Fast2D.Texture.Bind |
( |
int |
unit = 0 | ) |
|
|
inline |
void Aiv.Fast2D.Texture.Dispose |
( |
| ) |
|
|
inline |
virtual byte [] Aiv.Fast2D.Texture.Download |
( |
int |
mipMap = 0 | ) |
|
|
inlinevirtual |
void Aiv.Fast2D.Texture.SetLinear |
( |
bool |
mipMap = false | ) |
|
|
inline |
void Aiv.Fast2D.Texture.SetNearest |
( |
bool |
mipMap = false | ) |
|
|
inline |
void Aiv.Fast2D.Texture.SetRepeatX |
( |
bool |
repeat = true | ) |
|
|
inline |
void Aiv.Fast2D.Texture.SetRepeatY |
( |
bool |
repeat = true | ) |
|
|
inline |
void Aiv.Fast2D.Texture.Update |
( |
byte[] |
bitmap, |
|
|
int |
mipMap = 0 |
|
) |
| |
|
inline |
void Aiv.Fast2D.Texture.Update |
( |
int |
mipMap = 0 | ) |
|
|
inline |
bool Aiv.Fast2D.Texture.flipped = false |
byte [] Aiv.Fast2D.Texture.Bitmap |
|
get |
Data in bytes representing pixels
int Aiv.Fast2D.Texture.Height |
|
getset |
The Height of this texture
int Aiv.Fast2D.Texture.Id |
|
get |
The Id associated to this texture on the GPU
bool Aiv.Fast2D.Texture.IsPremultiplied |
|
get |
float Aiv.Fast2D.Texture.Ratio |
|
get |
The ratio of the size of this texture (width / height)
int Aiv.Fast2D.Texture.Width |
|
getset |
The width of this texture
The documentation for this class was generated from the following file: