Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:11 Constructors constructor new Resource ( width ? , height ? ) : Resource Parameters Optional
width : number Optional
height : number Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:55 Properties Readonly
destroyed destroyed : boolean
Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:19 internal internal : boolean
Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:26 src src : string
Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:13 Accessors height get height( ) : number Returns number Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:95 valid get valid( ) : boolean Returns boolean Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:76 width get width( ) : number Returns number Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:90 Methods bind bind ( baseTexture ) : void Returns void Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:60 destroy destroy ( ) : void Returns void Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:119 dispose dispose ( ) : void Returns void Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:113 resize resize ( width , height ) : void Parameters width : number height : number Returns void Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:71 style style ( _renderer , _baseTexture , _glTexture ) : boolean Returns boolean
Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:111 unbind unbind ( baseTexture ) : void Returns void Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:65 update update ( ) : void Returns void Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:78 Abstract
upload upload ( renderer , baseTexture , glTexture ) : boolean Returns boolean
Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:103 Static
test test ( _source , _extension ? ) : boolean Parameters _source : unknown Optional
_extension : string Returns boolean Defined in node_modules/@pixi/core/lib/textures/resources/Resource.d.ts:125
Base resource class for textures that manages validation and uploading, depending on its type.
Uploading of a base texture to the GPU is required.
Memberof
PIXI