Documentation

Classes

Class CL3D.Texture

Class representing a texture which can be loaded from an URL.

Class Overview
CL3D.Texture()
Class representing a texture which can be loaded from an URL.

Method Summary
Method Attributes Method Name and Description
 
returns the height of this texture, or null if not loaded yet
 
returns the image of the texture
 
returns the URL of this texture
 
returns the webGL texture object of the texture, only available if the texture has been loaded already.
 
returns the width of this texture, or null if not loaded yet
 
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

© 2011-2018 N.Gebhardt, Ambiera
Documentation generated by JsDoc Toolkit