Resources handles things most phun users shouldn't worry about. It gives access to things like 16 bit textures, shaders and other resources.
List of variables:
| Variable name
| Variable type
| Description
| Default(beta 4.22)
|
| force16BitTextures | true or false | whether or not 16 bit color-mode should be used | false
|
| loadAll | function | loads all resources into the ram | ---
|
| reloadAll | function | reload all resources | ---
|
| reloadShaders | function | reload only shaders | ---
|
| reloadTextures | function | reload only textures | ---
|
| shaders | true or false | whether or not shaders should be used | false
|
| unloadAll | function | unload all resources | ---
|
| vramUsage | read-only decimal positive value | how much bytes of video RAM are used by Phun |
|
Last modified August 24, 2008 8:01 am