C# Class Axiom.RenderSystems.OpenGL.GLPBRTTManager

Inheritance: GLRTTManager
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
Bind ( RenderTarget target ) : void
CheckFormat ( PixelFormat format ) : bool
CreateRenderTexture ( string name, Axiom.RenderSystems.OpenGL.GLSurfaceDesc target, bool writeGamma, int fsaa ) : RenderTexture
GetContextFor ( PixelComponentType pcType, int width, int height ) : GLContext

Get GL rendering context for a certain component type and size.

ReleasePBuffer ( PixelComponentType pcType ) : void

Release PBuffer for a certain pixel format

RequestPBuffer ( PixelComponentType pcType, int width, int height ) : void

Create PBuffer for a certain pixel format and size

Unbind ( RenderTarget target ) : void

Protected Methods

Method Description
dispose ( bool disposeManagedResources ) : void

Private Methods

Method Description
GLPBRTTManager ( Axiom.RenderSystems.OpenGL.BaseGLSupport glSupport, RenderTarget target ) : System

Method Details

Bind() public method

public Bind ( RenderTarget target ) : void
target Axiom.Graphics.RenderTarget
return void

CheckFormat() public method

public CheckFormat ( PixelFormat format ) : bool
format PixelFormat
return bool

CreateRenderTexture() public method

public CreateRenderTexture ( string name, Axiom.RenderSystems.OpenGL.GLSurfaceDesc target, bool writeGamma, int fsaa ) : RenderTexture
name string
target Axiom.RenderSystems.OpenGL.GLSurfaceDesc
writeGamma bool
fsaa int
return Axiom.Graphics.RenderTexture

GetContextFor() public method

Get GL rendering context for a certain component type and size.
public GetContextFor ( PixelComponentType pcType, int width, int height ) : GLContext
pcType PixelComponentType
width int
height int
return GLContext

ReleasePBuffer() public method

Release PBuffer for a certain pixel format
public ReleasePBuffer ( PixelComponentType pcType ) : void
pcType PixelComponentType
return void

RequestPBuffer() public method

Create PBuffer for a certain pixel format and size
public RequestPBuffer ( PixelComponentType pcType, int width, int height ) : void
pcType PixelComponentType
width int
height int
return void

Unbind() public method

public Unbind ( RenderTarget target ) : void
target Axiom.Graphics.RenderTarget
return void

dispose() protected method

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