Свойство | Type | Description | |
---|---|---|---|
Filename | string | ||
TexPointer | int | ||
bitmap |
Méthode | 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 |
Méthode | Description | |
---|---|---|
ChromaKey32bppBitmap ( |
||
ChromaKeyIfNecessary ( |
||
ConvertTo32bppBitmap ( |
||
Texture ( ) : System | ||
doDeferredOperations ( ) : void | ||
doDestroy ( ) : void | ||
resizeIfNecessary ( |
public static DoDeferredTextureOperations ( ) : void | ||
Résultat | void |
public static ForceDestroyAllTextures ( ) : void | ||
Résultat | void |
public static GetTexture ( string name ) : |
||
name | string | |
Résultat |
public static SetTexture ( string name, |
||
name | string | |
texture | ||
makeCopy | bool | |
Résultat | void |
public Texture ( |
||
bitmap | ||
Résultat | System |
public Texture ( |
||
bitmap | ||
treatAsIndexed | bool | |
Résultat | System |
public Texture ( string bitmapFilename ) : System | ||
bitmapFilename | string | |
Résultat | System |
public Texture ( string identifier, |
||
identifier | string | |
bitmap | ||
Résultat | System |
public Texture ( string identifier, |
||
identifier | string | |
bitmap | ||
treatAsIndexed | bool | |
Résultat | System |
public static TextureExists ( string name ) : bool | ||
name | string | |
Résultat | bool |