resources:getTexture
Texture resources:getTexture(path, loadFlags)
Returns a Texture object if loaded successfully, you should use preLoad on Mod:onLoad() to pre-load the texture and not block the client
Parameters
| Type | Name | Description | Optional |
|---|---|---|---|
| string | path | No description | |
| LOAD.TEXTURE_FLAGS | loadFlags | No description | ✔ |
Returns
| Type | Description |
|---|---|
| Texture | No description |