C# Class andengine.opengl.texture.Texture

Afficher le fichier Open project: jamesburton/AndEngine.net Class Usage Examples

Protected Properties

Свойство Type Description
mUpdateOnHardwareNeeded bool

Méthodes publiques

Méthode Description
AddTextureSource ( andengine.opengl.texture.source.ITextureSource pTextureSource, int pTexturePositionX, int pTexturePositionY ) : TextureSourceWithLocation
ClearTextureSources ( ) : void
GetHardwareTextureID ( ) : int
GetHeight ( ) : int
GetTextureOptions ( ) : TextureOptions
GetWidth ( ) : int
IsLoadedToHardware ( ) : bool
IsUpdateOnHardwareNeeded ( ) : bool
LoadToHardware ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void
RemoveTextureSource ( andengine.opengl.texture.source.ITextureSource pTextureSource, int pTexturePositionX, int pTexturePositionY ) : void
SetLoadedToHardware ( bool pLoadedToHardware ) : void
Texture ( int pWidth, int pHeight ) : System.Collections.Generic
Texture ( int pWidth, int pHeight, ITextureStateListener pTextureStateListener ) : System.Collections.Generic
Texture ( int pWidth, int pHeight, TextureOptions pTextureOptions ) : System.Collections.Generic
Texture ( int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureStateListener pTextureStateListener ) : System.Collections.Generic
UnloadFromHardware ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void

Méthodes protégées

Méthode Description
Init ( int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureStateListener pTextureStateListener ) : void

Private Methods

Méthode Description
AllocateAndBindTextureOnHardware ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void
ApplyTextureOptions ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void
CheckTextureSourcePosition ( andengine.opengl.texture.source.ITextureSource pTextureSource, int pTexturePositionX, int pTexturePositionY ) : void
DeleteTextureOnHardware ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void
GenerateHardwareTextureID ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : int
SendPlaceholderBitmapToHardware ( int pWidth, int pHeight ) : void
WriteTextureToHardware ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void

Method Details

AddTextureSource() public méthode

public AddTextureSource ( andengine.opengl.texture.source.ITextureSource pTextureSource, int pTexturePositionX, int pTexturePositionY ) : TextureSourceWithLocation
pTextureSource andengine.opengl.texture.source.ITextureSource
pTexturePositionX int
pTexturePositionY int
Résultat TextureSourceWithLocation

ClearTextureSources() public méthode

public ClearTextureSources ( ) : void
Résultat void

GetHardwareTextureID() public méthode

public GetHardwareTextureID ( ) : int
Résultat int

GetHeight() public méthode

public GetHeight ( ) : int
Résultat int

GetTextureOptions() public méthode

public GetTextureOptions ( ) : TextureOptions
Résultat TextureOptions

GetWidth() public méthode

public GetWidth ( ) : int
Résultat int

Init() protected méthode

protected Init ( int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureStateListener pTextureStateListener ) : void
pWidth int
pHeight int
pTextureOptions TextureOptions
pTextureStateListener ITextureStateListener
Résultat void

IsLoadedToHardware() public méthode

public IsLoadedToHardware ( ) : bool
Résultat bool

IsUpdateOnHardwareNeeded() public méthode

public IsUpdateOnHardwareNeeded ( ) : bool
Résultat bool

LoadToHardware() public méthode

public LoadToHardware ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void
pGL Javax.Microedition.Khronos.Opengles.IGL10
Résultat void

RemoveTextureSource() public méthode

public RemoveTextureSource ( andengine.opengl.texture.source.ITextureSource pTextureSource, int pTexturePositionX, int pTexturePositionY ) : void
pTextureSource andengine.opengl.texture.source.ITextureSource
pTexturePositionX int
pTexturePositionY int
Résultat void

SetLoadedToHardware() public méthode

public SetLoadedToHardware ( bool pLoadedToHardware ) : void
pLoadedToHardware bool
Résultat void

Texture() public méthode

public Texture ( int pWidth, int pHeight ) : System.Collections.Generic
pWidth int
pHeight int
Résultat System.Collections.Generic

Texture() public méthode

public Texture ( int pWidth, int pHeight, ITextureStateListener pTextureStateListener ) : System.Collections.Generic
pWidth int
pHeight int
pTextureStateListener ITextureStateListener
Résultat System.Collections.Generic

Texture() public méthode

public Texture ( int pWidth, int pHeight, TextureOptions pTextureOptions ) : System.Collections.Generic
pWidth int
pHeight int
pTextureOptions TextureOptions
Résultat System.Collections.Generic

Texture() public méthode

public Texture ( int pWidth, int pHeight, TextureOptions pTextureOptions, ITextureStateListener pTextureStateListener ) : System.Collections.Generic
pWidth int
pHeight int
pTextureOptions TextureOptions
pTextureStateListener ITextureStateListener
Résultat System.Collections.Generic

UnloadFromHardware() public méthode

public UnloadFromHardware ( Javax.Microedition.Khronos.Opengles.IGL10 pGL ) : void
pGL Javax.Microedition.Khronos.Opengles.IGL10
Résultat void

Property Details

mUpdateOnHardwareNeeded protected_oe property

protected bool mUpdateOnHardwareNeeded
Résultat bool