Class: TTexture
Defined in: graphics/texture.ts:25
Implements
Constructors
Constructor
new TTexture():
TTexture
Returns
TTexture
Properties
uuid?
optionaluuid?:string
Defined in: graphics/texture.ts:26
Accessors
filter
Get Signature
get filter():
TTextureFilter
Defined in: graphics/texture.ts:35
Returns the filter used for the texture, this cannot be changed after texture is loaded
Returns
wrapS
Get Signature
get wrapS():
TTextureWrap
Defined in: graphics/texture.ts:42
Returns the wrap mode for the S coordinate, this cannot be changed after texture is loaded
Returns
wrapT
Get Signature
get wrapT():
TTextureWrap
Defined in: graphics/texture.ts:49
Returns the wrap mode for the T coordinate, this cannot be changed after texture is loaded
Returns
Methods
loadWithJob()
loadWithJob(
jobs,url,config?):Promise<void>
Defined in: graphics/texture.ts:53
Parameters
jobs
url
string
config?
Returns
Promise<void>
Implementation of
setImageBitmap()
setImageBitmap(
jobs,image,options?):Promise<void>
Defined in: graphics/texture.ts:96
Parameters
jobs
image
ImageBitmap
options?
Returns
Promise<void>