Свойство | Тип | Описание | |
---|---|---|---|
Filename | string | ||
TexPointer | int | ||
bitmap |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ChromaKey32bppBitmap ( |
||
ChromaKeyIfNecessary ( |
||
ConvertTo32bppBitmap ( |
||
Texture ( ) : System | ||
doDeferredOperations ( ) : void | ||
doDestroy ( ) : void | ||
resizeIfNecessary ( |
public static DoDeferredTextureOperations ( ) : void | ||
Результат | void |
public static ForceDestroyAllTextures ( ) : void | ||
Результат | void |
public static GetTexture ( string name ) : |
||
name | string | |
Результат |
public static SetTexture ( string name, |
||
name | string | |
texture | ||
makeCopy | bool | |
Результат | void |
public Texture ( |
||
bitmap | ||
Результат | System |
public Texture ( |
||
bitmap | ||
treatAsIndexed | bool | |
Результат | System |
public Texture ( string bitmapFilename ) : System | ||
bitmapFilename | string | |
Результат | System |
public Texture ( string identifier, |
||
identifier | string | |
bitmap | ||
Результат | System |
public Texture ( string identifier, |
||
identifier | string | |
bitmap | ||
treatAsIndexed | bool | |
Результат | System |
public static TextureExists ( string name ) : bool | ||
name | string | |
Результат | bool |