Abstract
Readonly
dimensionsThe dimensions of the texture
Readonly
errorReadonly
lastReadonly
renderableReadonly
renderableReadonly
stateProtected
txGet the CoreContextTexture for this Texture
Abstract
getGet the texture data for this texture.
The texture data for this texture.
Optional
onSet the state of the texture
Rest
...args: ParametersSkipTarget<TextureStateEventMap[State]>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.