Coppercube API Documentation
Class Texture
Class representing a texture which can be loaded from an URL.
Method Attributes | Method Name and Description |
---|---|
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.
|
|
isLoaded()
returns if the texture has been sucessfully loaded
|
Method Detail
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.
isLoaded()
returns if the texture has been sucessfully loaded