This function allows you to set three things:
texturegroup_set_mode(explicit, [debug=false, default_sprite=-1]);
Argument | Type | Description |
---|---|---|
explicit | Boolean | The mode used for Dynamic Texture Groups: Implicit (false), or Explicit (true) |
debug | Boolean | OPTIONAL Enable/disable Texture Group debugging |
default_sprite | Sprite Asset | OPTIONAL Only used in Explicit mode: The sprite used as the "fallback" texture when another texture is not loaded (the whole texture page is drawn) |
N/A
texturegroup_set_mode(true, false, spr_fallback);
This will enable Explicit mode, disable debugging and set spr_fallback as the fallback sprite for unloaded textures.