forceLoaded(width, height)
Forces this BaseTexture to be set as loaded, with the given width and height.
Then calls BaseTexture.dirty.
Important for when you don't want to modify the source object by forcing in complete
or dimension properties it may not have.
Parameters
Name | Type | Description |
---|---|---|
width | Number |
|
height | Number |
|
- Source code: pixi/textures/BaseTexture.js (Line 137)
Please login to continue.