AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
Texture2D类 参考
类 Texture2D 继承关系图:
Texture GfxObject ImageTexture2D

Public 成员函数

 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 成员函数 继承自 Texture
 Texture (TextureDesc desc)
 
String GetName ()
 
void SetName (String val)
 
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, boolean val)
 
void SetUniform (String name, int val)
 
void SetUniform (String name, EnumTextureUnit val)
 
void SetUniform (String name, float val)
 
void SetUniform (String name, Vector2 val)
 
void SetUniform (String name, Vector3 val)
 
void SetUniform (String name, Vector4 val)
 
void SetUniform (String name, Matrix3 val)
 
void SetUniform (String name, Matrix4 val)
 
void SetUniform (String name, Matrix2 val)
 
void SetUniformBool (String name, boolean val)
 
void SetUniformInt (String name, int val)
 
void SetUniformTextureUnit (String name, EnumTextureUnit val)
 
void SetUniformFloat (String name, float val)
 
void SetUniformVec2 (String name, Vector2 val)
 
void SetUniformVec3 (String name, Vector3 val)
 
void SetUniformVec4 (String name, Vector4 val)
 
void SetUniformMat2 (String name, Matrix2 val)
 
void SetUniformMat3 (String name, Matrix3 val)
 
void SetUniformMat4 (String name, Matrix4 val)
 
boolean IsValid ()
 
void RequestUpdate ()
 
- Public 成员函数 继承自 GfxObject
long GetUuid ()
 

静态 Public 成员函数

static Texture2D Cast (GfxObject obj)
 
static Texture Cast (GfxObject obj)
 

详细描述

<> The 2D texture

成员函数说明

◆ Cast()

static Texture2D Texture2D.Cast ( GfxObject  obj)
static

重载 Texture .