AnyCAD Rapid API 2023
Help you to create a better world!
|
Public Member Functions | |
ImageTexture2D (Image img, TextureDesc desc) | |
Image | GetSource () |
void | AsyncLoad (String url) |
boolean | SetSource (Image image) |
boolean | IsValid () |
![]() | |
Texture2D (TextureDesc desc) | |
long | GetWidth () |
void | SetWidth (long val) |
long | GetHeight () |
void | SetHeight (long val) |
Vector2 | GetOffset () |
void | SetOffset (Vector2 val) |
float | GetAngle () |
void | SetAngle (float val) |
Vector2 | GetRepeat () |
void | SetRepeat (Vector2 val) |
Vector2 | GetCenter () |
void | SetCenter (Vector2 val) |
boolean | GetGenerateMipmap () |
void | SetGenerateMipmap (boolean val) |
void | UpdateTransform () |
void | Resize (long width, long height) |
![]() | |
Texture (TextureDesc desc) | |
TextureDesc | GetDesc () |
void | SetDesc (TextureDesc val) |
UniformSet | GetUniforms () |
long | GetUpdateVersion () |
EnumEncoding | GetEncoding () |
void | SetEncoding (EnumEncoding val) |
EnumMapping | GetMapping () |
void | SetMapping (EnumMapping val) |
EnumTextureTarget | GetTextureType () |
void | SetUniform (String name, Uniform uniform) |
void | RequestUpdate () |
![]() | |
long | GetUuid () |
Static Public Member Functions | |
static ImageTexture2D | Create (String fileName) |
![]() | |
static Texture2D | Cast (GfxObject obj) |
boolean ImageTexture2D.IsValid | ( | ) |
Reimplemented from Texture.