Property | Type | Description | |
---|---|---|---|
Filename | string | ||
TexPointer | int | ||
bitmap |
Method | Description | |
---|---|---|
Destroy ( ) : void | ||
DoDeferredTextureOperations ( ) : void | ||
ForceDestroyAllTextures ( ) : void | ||
GetTexture ( string name ) : |
||
SetTexture ( string name, |
Either changes the name of an existing texture (and it's entry in the global texture array), or creates a new texture sharing the data of the existing one but with a different name. (Bitmap object and GL graphics memory is shared.) This call is NOT necessary in ordinary usage! EVERY Texture gets put in the global texture array once created, even if the name assigned is just a Guid. ALL Textures already exist in the global texture array! This call is NOT necessary in ordinary Texture usage! Textures created using the new Texture(Bitmap) constructor have a GUID assigned. |
|
Texture ( |
||
Texture ( |
||
Texture ( string bitmapFilename ) : System | ||
Texture ( string identifier, |
||
Texture ( string identifier, |
||
TextureExists ( string name ) : bool | ||
createNewGlTexture ( ) : void |
Method | Description | |
---|---|---|
ChromaKey32bppBitmap ( |
||
ChromaKeyIfNecessary ( |
||
ConvertTo32bppBitmap ( |
||
Texture ( ) : System | ||
doDeferredOperations ( ) : void | ||
doDestroy ( ) : void | ||
resizeIfNecessary ( |
public static DoDeferredTextureOperations ( ) : void | ||
return | void |
public static ForceDestroyAllTextures ( ) : void | ||
return | void |
public static GetTexture ( string name ) : |
||
name | string | |
return |
public static SetTexture ( string name, |
||
name | string | |
texture | ||
makeCopy | bool | |
return | void |
public Texture ( |
||
bitmap | ||
return | System |
public Texture ( |
||
bitmap | ||
treatAsIndexed | bool | |
return | System |
public Texture ( string bitmapFilename ) : System | ||
bitmapFilename | string | |
return | System |
public Texture ( string identifier, |
||
identifier | string | |
bitmap | ||
return | System |
public Texture ( string identifier, |
||
identifier | string | |
bitmap | ||
treatAsIndexed | bool | |
return | System |
public static TextureExists ( string name ) : bool | ||
name | string | |
return | bool |