| Name | Type | Default | Description | 
|---|---|---|---|
| width | number | 0 | optional Width of the resource | 
| height | number | 0 | optional Height of the resource | 
Members
- 
    
    Internal height of the resource 
- 
    
    Internal width of the resource 
- 
    
    If resource has been destroyed - Default Value:
- false
 
 
- 
    
    The height of the resource. 
- 
    
    trueif resource is created by BaseTexture useful for doing cleanup with BaseTexture destroy and not cleaning up resources that were created externally.
- 
    
    Has been validated 
- 
    
    The width of the resource. 
Methods
- 
    
    
    Abstract, used to auto-detect resource type Name Type Description source* The source object extensionstring The extension of source, if set 
- 
    
    
    Bind to a parent BaseTexture Name Type Description baseTexturePIXI.BaseTexture Parent texture 
- 
    
    
    Call when destroying resource, unbind any BaseTexture object before calling this method, as reference counts are maintained internally. 
- 
    
    
    Clean up anything, this happens when destroying is ready. 
- 
    
    
    This can be overridden to start preloading a resource or do any other prepare step. Returns:Type Description Promise.<void> Handle the validate event 
- 
    
    
    Trigger a resize event Name Type Description widthnumber X dimension heightnumber Y dimension 
- 
    
    
    Set the style, optional to override Name Type Description rendererPIXI.Renderer yeah, renderer! baseTexturePIXI.BaseTexture the texture glTexturePIXI.GLTexture texture instance for this webgl context Returns:Type Description boolean trueis success
- 
    
    
    Unbind to a parent BaseTexture Name Type Description baseTexturePIXI.BaseTexture Parent texture 
- 
    
    
    Has been updated trigger event