Package: pumpkin.swf

TextureManager


Description

The TextureManager loads textures and manages Shaders and Materials at runtime.



Constructors

TextureManager

Create new TextureManager.


Functions

getTotalTextures

Returns total texture cached.

clearTextureCache

Clear texture cache.

clearTextureMatchingPrefix

Clear textures matching prefix.

getBitmapData

getBitmapData

getBitmapDataFromSceneTexture

getBitmapData

getBitmapData

createBitmapDataFromTexture

createBitmapDataFromTexture

MaterialPixelSpaceToUVSpace

MaterialPixelSpaceToUVSpace.

MaterialUVSpaceToPixelSpace

MaterialUVSpaceToPixelSpace.


Variables

allowEditorUnload

Enable editor resource unloading.

baseBitmapShaderName

Global alpha shader resource name.

baseBitmapAdditiveMaterial

Global alpha additive shader resource name.

baseColorShaderName

Global color shader resource name.

baseBitmapMaskMaterial

Global alpha masked shader resource name.

baseBitmapShader

Shader instance.

baseColorShader

Shader instance.

baseBitmapAddShader

Shader instance.

baseBitmapMaskShader

Shader instance.

instance

Global texture manager instance.

materials

textures