C# Class Axiom.RenderSystems.OpenGLES.GLESTextureBuffer

Texture surface
Inheritance: GLESHardwarePixelBuffer
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
_face int
_faceTarget All
_level int
_sliceTRT List
_softwareMipmap bool
_target All
_textureId int

Public Methods

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

Blit ( Axiom.Graphics.HardwarePixelBuffer src, BasicBox srcBox, BasicBox dstBox ) : void

BlitFromTexture ( GLESTextureBuffer src, BasicBox srcBox, BasicBox dstBox ) : void

ClearRTT ( int zoffset ) : void

Notify TextureBuffer of destruction of render target

GLESTextureBuffer ( string basename, All targetfmt, int id, int width, int height, int format, int face, int level, BufferUsage usage, bool crappyCard, bool writeGamma, int fsaa ) : System

GetRenderTarget ( int slice ) : RenderTexture

Protected Methods

Method Description
BuildMipmaps ( PixelBox data ) : void
Download ( PixelBox data ) : void

Upload ( PixelBox data, BasicBox dest ) : void

Private Methods

Method Description
CopyFromFramebuffer ( int p ) : void

Method Details

BindToFramebuffer() public method

public BindToFramebuffer ( All attachment, int zOffset ) : void
attachment All
zOffset int
return void

Blit() public method

public Blit ( Axiom.Graphics.HardwarePixelBuffer src, BasicBox srcBox, BasicBox dstBox ) : void
src Axiom.Graphics.HardwarePixelBuffer
srcBox Axiom.Media.BasicBox
dstBox Axiom.Media.BasicBox
return void

BlitFromTexture() public method

public BlitFromTexture ( GLESTextureBuffer src, BasicBox srcBox, BasicBox dstBox ) : void
src GLESTextureBuffer
srcBox Axiom.Media.BasicBox
dstBox Axiom.Media.BasicBox
return void

BuildMipmaps() protected static method

protected static BuildMipmaps ( PixelBox data ) : void
data Axiom.Media.PixelBox
return void

ClearRTT() public method

Notify TextureBuffer of destruction of render target
public ClearRTT ( int zoffset ) : void
zoffset int
return void

Download() protected method

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

GLESTextureBuffer() public method

public GLESTextureBuffer ( string basename, All targetfmt, int id, int width, int height, int format, int face, int level, BufferUsage usage, bool crappyCard, bool writeGamma, int fsaa ) : System
basename string
targetfmt All
id int
width int
height int
format int
face int
level int
usage BufferUsage
crappyCard bool
writeGamma bool
fsaa int
return System

GetRenderTarget() public method

public GetRenderTarget ( int slice ) : RenderTexture
slice int
return Axiom.Graphics.RenderTexture

Upload() protected method

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

Property Details

_face protected property

protected int _face
return int

_faceTarget protected property

protected All _faceTarget
return All

_level protected property

protected int _level
return int

_sliceTRT protected property

protected List _sliceTRT
return List

_softwareMipmap protected property

protected bool _softwareMipmap
return bool

_target protected property

protected All _target
return All

_textureId protected property

protected int _textureId
return int