CopperLicht API Documentation
Class CL3D.Texture
Class representing a texture which can be loaded from an URL.
Method Attributes | Method Name and Description |
---|---|
returns the height of this texture, or null if not loaded yet
|
|
getImage()
returns the image of the texture
|
|
getURL()
returns the URL of this texture
|
|
returns the webGL texture object of the texture, only available if the texture has been loaded already.
|
|
getWidth()
returns the width of this texture, or null if not loaded yet
|
|
isLoaded()
returns if the texture has been sucessfully loaded
|
Method Detail
getHeight()
returns the height of this texture, or null if not loaded yet
getImage()
returns the image of the texture
getURL()
returns the URL of this texture
getWebGLTexture()
returns the webGL texture object of the texture, only available if the texture has been loaded already.
getWidth()
returns the width of this texture, or null if not loaded yet
isLoaded()
returns if the texture has been sucessfully loaded