C# Class Axiom.RenderSystems.OpenGLES.GLESHardwarePixelBuffer

Inheritance: Axiom.Graphics.HardwarePixelBuffer
Afficher le fichier Open project: WolfgangSt/axiom

Protected Properties

Свойство Type Description
_buffer Axiom.Media.PixelBox
_currentLocking BufferLocking
_glInternalFormat OpenTK.Graphics.ES11.All
data byte[]

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

protected AllocateBuffer ( ) : void
Résultat void

BindToFramebuffer() public méthode

public BindToFramebuffer ( OpenTK.Graphics.ES11 attachment, int zOffset ) : void
attachment OpenTK.Graphics.ES11
zOffset int
Résultat void

BlitFromMemory() public méthode

public BlitFromMemory ( PixelBox src, Media dstBox ) : void
src Axiom.Media.PixelBox
dstBox Media
Résultat void

BlitToMemory() public méthode

public BlitToMemory ( BasicBox srcBox, PixelBox dst ) : void
srcBox Axiom.Media.BasicBox
dst Axiom.Media.PixelBox
Résultat void

ComputeLog() public static méthode

public static ComputeLog ( int value ) : int
value int
Résultat int

Download() protected méthode

protected Download ( PixelBox data ) : void
data Axiom.Media.PixelBox
Résultat void

FreeBuffer() protected méthode

protected FreeBuffer ( ) : void
Résultat void

GLESHardwarePixelBuffer() public méthode

public GLESHardwarePixelBuffer ( int width, int height, int depth, PixelFormat format, BufferUsage usage ) : System
width int
height int
depth int
format PixelFormat
usage BufferUsage
Résultat System

LockImpl() protected méthode

protected LockImpl ( BasicBox lockBox, BufferLocking options ) : PixelBox
lockBox Axiom.Media.BasicBox
options BufferLocking
Résultat Axiom.Media.PixelBox

UnlockImpl() protected méthode

protected UnlockImpl ( ) : void
Résultat void

Upload() protected méthode

protected Upload ( PixelBox data, BasicBox dest ) : void
data Axiom.Media.PixelBox
dest Axiom.Media.BasicBox
Résultat void

dispose() protected méthode

Called to destroy this buffer.
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Résultat 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
Résultat Axiom.Media.PixelBox

_currentLocking protected_oe property

protected BufferLocking _currentLocking
Résultat BufferLocking

_glInternalFormat protected_oe property

protected All,OpenTK.Graphics.ES11 _glInternalFormat
Résultat OpenTK.Graphics.ES11.All

data protected_oe property

protected byte[] data
Résultat byte[]