Static variables

@:value(new FoxCache())staticfinalread onlyinstance:FoxCache = new FoxCache()

Static methods

staticinlinestaticInit():Void

staticinlinetextures():FoxTextureCollection

staticinlineshaders():FoxShaderCollection

staticinlineshaderIncludes():FoxShaderDefinesCollection

staticinlinematerialLibs():FoxMaterialCollection

staticinlinemeshes():FoxMeshCollection

staticinlineanimationLibs():FoxAnimationCollection

staticinlineskins():FoxSkinCollection

statictexturesLoaded():{total:Int, loaded:Array<FoxTexture>}

Returns the loaded textures alongside the textures total

This only counts textures registered in the cache

staticmeshesLoaded():{total:Int, loaded:Array<Array<FoxMesh>>}

Returns the loaded meshes alongside the total of meshes

This only counts meshes registered in the cache

staticshadersCompiled():{total:Int, compiled:Array<FoxShader>}

Returns the shaders that have been compiled alongside all shaders

This only counts shaders registered in the cache

staticcleanup():Void

Constructor

new()

Variables

@:value(new StringMap())_texture:FoxTextureCollection = new StringMap()

@:value(new StringMap())_shaders:FoxShaderCollection = new StringMap()

@:value(new StringMap())_shaderIncludes:FoxShaderDefinesCollection = new StringMap()

@:value(new StringMap())_materialLibs:FoxMaterialCollection = new StringMap()

@:value(new StringMap())_meshes:FoxMeshCollection = new StringMap()

@:value(new StringMap())_animationLibs:FoxAnimationCollection = new StringMap()

@:value(new StringMap())_skins:FoxSkinCollection = new StringMap()

@:value(true)freeResourcesOnStateSwitch:Bool = true

If enabled, will free resources on flixel's preStateSwitch signal

Methods