AnyCAD Rapid API 2023
Help you to create a better world!
|
Public Member Functions | |
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) |
Public Member Functions inherited from Texture | |
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) |
boolean | IsValid () |
void | RequestUpdate () |
Public Member Functions inherited from GfxObject | |
long | GetUuid () |
Static Public Member Functions | |
static Texture2D | Cast (GfxObject obj) |
<> The 2D texture