C# Class Axiom.RenderSystems.OpenGLES.GLESFBOManager

Factory for GL Frame Buffer Objects, and related things.
Inheritance: Axiom.RenderSystems.OpenGLES.GLESRTTManager
Afficher le fichier Open project: WolfgangSt/axiom

Méthodes publiques

Свойство Type Description
DepthBits int[]
DepthFormatCount int
DepthFormats All[]
StencilBits int[]
StencilFormatCount int
StencilFormats All[]

Méthodes publiques

Méthode Description
Bind ( Graphics target ) : void

Bind a certain render target if it is a FBO. If it is not a FBO, bind the main frame buffer.

CheckFormat ( Media format ) : bool
CreateMultiRenderTarget ( string name ) : Graphics.MultiRenderTarget

CreateRenderTexture ( string name, GLESSurfaceDescription target, bool writeGame, int fsaa ) : Graphics.RenderTexture

GLESFBOManager ( ) : System

GetBestDepthStencil ( All internalFormat, All &depthFormat, All &stencilFormat ) : void

Get best depth and stencil supported for given internalFormat

ReleaseRenderbuffer ( GLESSurfaceDescription surface ) : void

RequestRenderbuffer ( All format, int width, int height, int fsaa ) : GLESSurfaceDescription

Request a render buffer. If format is GL_NONE, return a zero buffer.

RequestRenderbuffer ( GLESSurfaceDescription surface ) : void

Request the specify render buffer in case shared somewhere. Ignore silently if surface.buffer is null.

Unbind ( Graphics target ) : void

Unbind a certain render target. No-op for FBOs.

Private Methods

Méthode Description
DetectFBOFormats ( ) : void

Detect which internal formats are allowed as RTT Also detect what combinations of stencil and depth are allowed with this internal format.

TryFormat ( All depthFormat, All stencilFormat ) : bool

Try a certain FBO format, and return the status. Also sets mDepthRB and mStencilRB.

TryPacketFormat ( All packedFormat ) : bool

Try a certain packed depth/stencil format, and return the status.

Method Details

Bind() public méthode

Bind a certain render target if it is a FBO. If it is not a FBO, bind the main frame buffer.
public Bind ( Graphics target ) : void
target Graphics
Résultat void

CheckFormat() public méthode

public CheckFormat ( Media format ) : bool
format Media
Résultat bool

CreateMultiRenderTarget() public méthode

public CreateMultiRenderTarget ( string name ) : Graphics.MultiRenderTarget
name string
Résultat Graphics.MultiRenderTarget

CreateRenderTexture() public méthode

public CreateRenderTexture ( string name, GLESSurfaceDescription target, bool writeGame, int fsaa ) : Graphics.RenderTexture
name string
target GLESSurfaceDescription
writeGame bool
fsaa int
Résultat Graphics.RenderTexture

GLESFBOManager() public méthode

public GLESFBOManager ( ) : System
Résultat System

GetBestDepthStencil() public méthode

Get best depth and stencil supported for given internalFormat
public GetBestDepthStencil ( All internalFormat, All &depthFormat, All &stencilFormat ) : void
internalFormat All
depthFormat All
stencilFormat All
Résultat void

ReleaseRenderbuffer() public méthode

public ReleaseRenderbuffer ( GLESSurfaceDescription surface ) : void
surface GLESSurfaceDescription
Résultat void

RequestRenderbuffer() public méthode

Request a render buffer. If format is GL_NONE, return a zero buffer.
public RequestRenderbuffer ( All format, int width, int height, int fsaa ) : GLESSurfaceDescription
format All
width int
height int
fsaa int
Résultat GLESSurfaceDescription

RequestRenderbuffer() public méthode

Request the specify render buffer in case shared somewhere. Ignore silently if surface.buffer is null.
public RequestRenderbuffer ( GLESSurfaceDescription surface ) : void
surface GLESSurfaceDescription
Résultat void

Unbind() public méthode

Unbind a certain render target. No-op for FBOs.
public Unbind ( Graphics target ) : void
target Graphics
Résultat void

Property Details

DepthBits public_oe static_oe property

public static int[] DepthBits
Résultat int[]

DepthFormatCount public_oe static_oe property

public static int DepthFormatCount
Résultat int

DepthFormats public_oe static_oe property

public static All[] DepthFormats
Résultat All[]

StencilBits public_oe static_oe property

public static int[] StencilBits
Résultat int[]

StencilFormatCount public_oe static_oe property

public static int StencilFormatCount
Résultat int

StencilFormats public_oe static_oe property

Stencil and depth formats to be tried
public static All[] StencilFormats
Résultat All[]