C# Class Axiom.RenderSystems.OpenGLES.GLESHardwarePixelBuffer

Inheritance: Axiom.Graphics.HardwarePixelBuffer
ファイルを表示 Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
_buffer Axiom.Media.PixelBox
_currentLocking BufferLocking
_glInternalFormat OpenTK.Graphics.ES11.All
data byte[]

Public Methods

Method Description
BindToFramebuffer ( OpenTK.Graphics.ES11 attachment, int zOffset ) : void

BlitFromMemory ( PixelBox src, Media dstBox ) : void

BlitToMemory ( BasicBox srcBox, PixelBox dst ) : void

ComputeLog ( int value ) : int

GLESHardwarePixelBuffer ( int width, int height, int depth, PixelFormat format, BufferUsage usage ) : System

Protected Methods

Method Description
AllocateBuffer ( ) : void

Download ( PixelBox data ) : void

FreeBuffer ( ) : void

LockImpl ( BasicBox lockBox, BufferLocking options ) : PixelBox

UnlockImpl ( ) : void

Upload ( PixelBox data, BasicBox dest ) : void

dispose ( bool disposeManagedResources ) : void

Called to destroy this buffer.

Method Details

AllocateBuffer() protected method

protected AllocateBuffer ( ) : void
return void

BindToFramebuffer() public method

public BindToFramebuffer ( OpenTK.Graphics.ES11 attachment, int zOffset ) : void
attachment OpenTK.Graphics.ES11
zOffset int
return void

BlitFromMemory() public method

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

BlitToMemory() public method

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

ComputeLog() public static method

public static ComputeLog ( int value ) : int
value int
return int

Download() protected method

protected Download ( PixelBox data ) : void
data Axiom.Media.PixelBox
return void

FreeBuffer() protected method

protected FreeBuffer ( ) : void
return void

GLESHardwarePixelBuffer() public method

public GLESHardwarePixelBuffer ( 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

Upload() protected method

protected Upload ( PixelBox data, BasicBox dest ) : void
data Axiom.Media.PixelBox
dest Axiom.Media.BasicBox
return void

dispose() protected method

Called to destroy this buffer.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
return void

Property Details

_buffer protected_oe property

Internal buffer; either on-card or in system memory, freed/allocated on demand depending on buffer usage
protected PixelBox,Axiom.Media _buffer
return Axiom.Media.PixelBox

_currentLocking protected_oe property

protected BufferLocking _currentLocking
return BufferLocking

_glInternalFormat protected_oe property

protected All,OpenTK.Graphics.ES11 _glInternalFormat
return OpenTK.Graphics.ES11.All

data protected_oe property

protected byte[] data
return byte[]