Abstract
Readonly
dimensionsThe dimensions of the texture
Readonly
errorReadonly
lastReadonly
renderableReadonly
renderableProtected
txGet the texture data for this texture.
The texture data for this texture.
Abstract
getGet the texture source for this texture.
Optional
onSet the core context state of the texture
State of the texture
Optional
errorOrDimensions: Error | DimensionsError or dimensions of the texture
Set the source state of the texture
State of the texture
Optional
errorOrDimensions: Error | DimensionsError or dimensions of the texture
Static
makeStatic
resolve
Represents a source of texture data for a CoreContextTexture.
Remarks
Texture sources are used to populate a CoreContextTexture when that texture is loaded. Texture data retrieved by the CoreContextTexture by the
getTextureData
method. It's the responsibility of the concereteTexture
subclass to implement this method appropriately.