A constructor defined in BBMOD_Resouce.gml
Extends BBMOD_Class
new BBMOD_Resource()
Base struct for all BBMOD resources.
Name | Description |
---|---|
IsLoaded | If false then the resource has not been loaded yet. |
Path | The path to the file from which was the resource loaded, or undefined if the resource does not come from a file. |
Persistent | If true then the resource is persistent and it is not destroyed when method free is used. Default value is false . |
Name | Description |
---|---|
free | Releases a reference to the resource. |
from_buffer | Loads the resource from a buffer. |
from_file | Loads the resource from a file. |
from_file_async | Asynchronnously loads the resource from a file. |
ref | Retrieves a reference to the resource. |
to_buffer | Writes the resource to a buffer. |
to_file | Writes a resource to a file. |
Name | Description |
---|---|
destroy | Frees resources used by the struct from memory. |
implement | Implements an interface into the struct. |
implements | Checks whether the struct implements an interface. |
is_instance | Checks if the struct inherits from given class. |
BBMOD_Animation, BBMOD_Material, BBMOD_Model, BBMOD_Sprite
Copyright © 2023, BlueBurn. Built on May 02, 2023 using GMDoc.