C# Class Axiom.RenderSystems.OpenGL.GLHardwarePixelBuffer

Inheritance: Axiom.Graphics.HardwarePixelBuffer
Show file Open project: WolfgangSt/axiom

Public Methods

Method Description
BindToFramebuffer ( int attachment, int zOffset ) : void

Bind surface to frame buffer. Needs FBO extension.

BlitFromMemory ( PixelBox src, BasicBox dstBox ) : void
BlitToMemory ( BasicBox srcBox, PixelBox dst ) : void
GLHardwarePixelBuffer ( int width, int height, int depth, PixelFormat format, BufferUsage usage ) : System

Protected Methods

Method Description
LockImpl ( BasicBox lockBox, BufferLocking options ) : PixelBox
UnlockImpl ( ) : void
allocateBuffer ( ) : void
dispose ( bool disposeManagedResources ) : void
download ( PixelBox box ) : void
freeBuffer ( ) : void
upload ( PixelBox box ) : void

Method Details

BindToFramebuffer() public method

Bind surface to frame buffer. Needs FBO extension.
public BindToFramebuffer ( int attachment, int zOffset ) : void
attachment int
zOffset int
return void

BlitFromMemory() public method

public BlitFromMemory ( PixelBox src, BasicBox dstBox ) : void
src Axiom.Media.PixelBox
dstBox Axiom.Media.BasicBox
return void

BlitToMemory() public method

public BlitToMemory ( BasicBox srcBox, PixelBox dst ) : void
srcBox Axiom.Media.BasicBox
dst Axiom.Media.PixelBox
return void

GLHardwarePixelBuffer() public method

public GLHardwarePixelBuffer ( int width, int height, int depth, PixelFormat format, BufferUsage usage ) : System
width int
height int
depth int
format PixelFormat
usage BufferUsage
return System

LockImpl() protected method

protected LockImpl ( BasicBox lockBox, BufferLocking options ) : PixelBox
lockBox Axiom.Media.BasicBox
options BufferLocking
return Axiom.Media.PixelBox

UnlockImpl() protected method

protected UnlockImpl ( ) : void
return void

allocateBuffer() protected method

protected allocateBuffer ( ) : void
return void

dispose() protected method

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

download() protected method

protected download ( PixelBox box ) : void
box Axiom.Media.PixelBox
return void

freeBuffer() protected method

protected freeBuffer ( ) : void
return void

upload() protected method

protected upload ( PixelBox box ) : void
box Axiom.Media.PixelBox
return void