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

Public 成员函数

 ImageTextureCube (TextureDesc desc, long width, long height)
 
ImageList GetSources ()
 
void LoadAsync (StringList fileNames)
 
void AddSource (Image source)
 
boolean IsValid ()
 
- Public 成员函数 继承自 TextureCube
 TextureCube (TextureDesc desc, long width, long height)
 
long GetWidth ()
 
void SetWidth (long val)
 
long GetHeight ()
 
void SetHeight (long val)
 
- 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)
 
void RequestUpdate ()
 
- Public 成员函数 继承自 GfxObject
long GetUuid ()
 

静态 Public 成员函数

static ImageTextureCube Cast (GfxObject obj)
 
static ImageTextureCube LoadFromFile (StringList fileNames)
 

成员函数说明

◆ Cast()

static ImageTextureCube ImageTextureCube.Cast ( GfxObject obj)
static

重载 TextureCube .

◆ IsValid()

boolean ImageTextureCube.IsValid ( )

重载 TextureCube .

◆ LoadFromFile()

static ImageTextureCube ImageTextureCube.LoadFromFile ( StringList fileNames)
static

Load CubeMap from files.

参数
fileNamesthe files with order [right, left, bottom, top, back, front]
返回
the ImageTextureCube