C# Class Axiom.RenderSystems.OpenGLES.GLESTextureManager

GL ES-specific implementation of a TextureManager
Inheritance: Axiom.Core.TextureManager
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
_glSupport Axiom.RenderSystems.OpenGLES.GLESSupport
_warningTextureID int

Public Methods

Method Description
GLESTextureManager ( Axiom.RenderSystems.OpenGLES.GLESSupport support ) : System

GetNativeFormat ( TextureType ttype, Media format, TextureUsage usage ) : Media.PixelFormat

IsHardwareFilteringSupported ( TextureType ttype, Media format, int usage, bool preciseFormatOnly ) : bool

Returns whether this render system has hardware filtering supported for the texture format requested with the given usage options.

Protected Methods

Method Description
CreateWarningTexture ( ) : void

Internal method to create a warning texture (bound when a texture unit is blank)

_create ( string name, ulong handle, string group, bool isManual, IManualResourceLoader loader, NameValuePairList createParams ) : Axiom.Core.Resource

dispose ( bool disposeManagedResources ) : void

Method Details

CreateWarningTexture() protected method

Internal method to create a warning texture (bound when a texture unit is blank)
protected CreateWarningTexture ( ) : void
return void

GLESTextureManager() public method

public GLESTextureManager ( Axiom.RenderSystems.OpenGLES.GLESSupport support ) : System
support Axiom.RenderSystems.OpenGLES.GLESSupport
return System

GetNativeFormat() public method

public GetNativeFormat ( TextureType ttype, Media format, TextureUsage usage ) : Media.PixelFormat
ttype TextureType
format Media
usage TextureUsage
return Media.PixelFormat

IsHardwareFilteringSupported() public method

Returns whether this render system has hardware filtering supported for the texture format requested with the given usage options.
public IsHardwareFilteringSupported ( TextureType ttype, Media format, int usage, bool preciseFormatOnly ) : bool
ttype TextureType The texture type requested
format Media The pixel format requested
usage int the kind of usage this texture is intended for, a combination of the TextureUsage flags.
preciseFormatOnly bool /// Whether precise or fallback format mode is used to detecting. /// In case the pixel format doesn't supported by device, false will be returned /// if in precise mode, and natively used pixel format will be actually use to /// check if in fallback mode. ///
return bool

_create() protected method

protected _create ( string name, ulong handle, string group, bool isManual, IManualResourceLoader loader, NameValuePairList createParams ) : Axiom.Core.Resource
name string
handle ulong
group string
isManual bool
loader IManualResourceLoader
createParams NameValuePairList
return Axiom.Core.Resource

dispose() protected method

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

_glSupport protected property

protected GLESSupport,Axiom.RenderSystems.OpenGLES _glSupport
return Axiom.RenderSystems.OpenGLES.GLESSupport

_warningTextureID protected property

protected int _warningTextureID
return int