C# Класс Axiom.RenderSystems.OpenGLES.GLESFBOManager

Factory for GL Frame Buffer Objects, and related things.
Наследование: Axiom.RenderSystems.OpenGLES.GLESRTTManager
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DepthBits int[]
DepthFormatCount int
DepthFormats All[]
StencilBits int[]
StencilFormatCount int
StencilFormats All[]

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Bind() публичный Метод

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
Результат void

CheckFormat() публичный Метод

public CheckFormat ( Media format ) : bool
format Media
Результат bool

CreateMultiRenderTarget() публичный Метод

public CreateMultiRenderTarget ( string name ) : Graphics.MultiRenderTarget
name string
Результат Graphics.MultiRenderTarget

CreateRenderTexture() публичный Метод

public CreateRenderTexture ( string name, GLESSurfaceDescription target, bool writeGame, int fsaa ) : Graphics.RenderTexture
name string
target GLESSurfaceDescription
writeGame bool
fsaa int
Результат Graphics.RenderTexture

GLESFBOManager() публичный Метод

public GLESFBOManager ( ) : System
Результат System

GetBestDepthStencil() публичный Метод

Get best depth and stencil supported for given internalFormat
public GetBestDepthStencil ( All internalFormat, All &depthFormat, All &stencilFormat ) : void
internalFormat All
depthFormat All
stencilFormat All
Результат void

ReleaseRenderbuffer() публичный Метод

public ReleaseRenderbuffer ( GLESSurfaceDescription surface ) : void
surface GLESSurfaceDescription
Результат void

RequestRenderbuffer() публичный Метод

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
Результат GLESSurfaceDescription

RequestRenderbuffer() публичный Метод

Request the specify render buffer in case shared somewhere. Ignore silently if surface.buffer is null.
public RequestRenderbuffer ( GLESSurfaceDescription surface ) : void
surface GLESSurfaceDescription
Результат void

Unbind() публичный Метод

Unbind a certain render target. No-op for FBOs.
public Unbind ( Graphics target ) : void
target Graphics
Результат void

Описание свойств

DepthBits публичное статическое свойство

public static int[] DepthBits
Результат int[]

DepthFormatCount публичное статическое свойство

public static int DepthFormatCount
Результат int

DepthFormats публичное статическое свойство

public static All[] DepthFormats
Результат All[]

StencilBits публичное статическое свойство

public static int[] StencilBits
Результат int[]

StencilFormatCount публичное статическое свойство

public static int StencilFormatCount
Результат int

StencilFormats публичное статическое свойство

Stencil and depth formats to be tried
public static All[] StencilFormats
Результат All[]