Powertek.OpenGl.PtFBODataRW Class Reference

PtFBODataRW FBO Data (float) with ReadWrite Access (GPGPU Ping Pong). More...

List of all members.

Public Member Functions

 PtFBODataRW ()
void CreateBuffer (int width, int height, int inFormat, int format, bool useDepthBuffer)
void CreateBuffer (int width, int height, int inFormat, int format, int minFilter, int magFilter, bool useDepthBuffer)
void ReleaseBuffer ()
void CheckFrameBufferStatus (String phase)
void ActivateFrameBuffer ()
void SwapTextureBuffer ()
void DeActivateFrameBuffer ()
void BindTexture ()
void BindAndActivateTexture (int target)
void BindBackTexture ()
void UnBindFBOTexture ()
void UnBindAndDeactivateTexture (int target)
void RenderTextureToViewPort (int width, int height)
float[] GetTextureData ()
void GetTextureData (out float[] data, out int width, out int height)
void GetTextureData (ref float[] data)
void SetTextureData (float[] data)

Properties

int Width [get]
int Height [get]


Detailed Description


Constructor & Destructor Documentation

Powertek.OpenGl.PtFBODataRW.PtFBODataRW (  ) 

PtFBODataRW FBO Data (float) with ReadWrite Access (GPGPU Ping Pong).


Member Function Documentation

void Powertek.OpenGl.PtFBODataRW.ActivateFrameBuffer (  ) 

Activate the FrameBuffer.

void Powertek.OpenGl.PtFBODataRW.BindAndActivateTexture ( int  target  ) 

BindAndActivateTexture.

Parameters:
target 

void Powertek.OpenGl.PtFBODataRW.BindBackTexture (  ) 

BindBackTexture.

void Powertek.OpenGl.PtFBODataRW.BindTexture (  ) 

BindTexture.

void Powertek.OpenGl.PtFBODataRW.CheckFrameBufferStatus ( String  phase  ) 

Check Status of the FBO.

Parameters:
phase 

void Powertek.OpenGl.PtFBODataRW.CreateBuffer ( int  width,
int  height,
int  inFormat,
int  format,
int  minFilter,
int  magFilter,
bool  useDepthBuffer 
)

CreateBuffer minMagFilter = Gl.GL_NEAREST, Gl.GL_LINEAR.

Parameters:
width 
height 
inFormat 
format 
minFilter 
magFilter 
useDepthBuffer 

void Powertek.OpenGl.PtFBODataRW.CreateBuffer ( int  width,
int  height,
int  inFormat,
int  format,
bool  useDepthBuffer 
)

CreateBuffer minMagFilter = Gl.GL_NEAREST, Gl.GL_LINEAR.

Parameters:
width 
height 
inFormat 
format 
useDepthBuffer 

void Powertek.OpenGl.PtFBODataRW.DeActivateFrameBuffer (  ) 

DeActivate the FrameBuffer.

void Powertek.OpenGl.PtFBODataRW.GetTextureData ( ref float[]  data  ) 

Returns the data of the current read Buffer.

Parameters:
data 

void Powertek.OpenGl.PtFBODataRW.GetTextureData ( out float[]  data,
out int  width,
out int  height 
)

Returns the data of the current read Buffer.

Parameters:
data 
width 
height 

float [] Powertek.OpenGl.PtFBODataRW.GetTextureData (  ) 

Returns the data of the current read Buffer.

Returns:

void Powertek.OpenGl.PtFBODataRW.ReleaseBuffer (  ) 

Release the Buffer.

void Powertek.OpenGl.PtFBODataRW.RenderTextureToViewPort ( int  width,
int  height 
)

RenderTextureToViewPort.

Parameters:
width 
height 

void Powertek.OpenGl.PtFBODataRW.SetTextureData ( float[]  data  ) 

Set the data of both Buffers.

Parameters:
data 

void Powertek.OpenGl.PtFBODataRW.SwapTextureBuffer (  ) 

SwapTextureBuffer.

void Powertek.OpenGl.PtFBODataRW.UnBindAndDeactivateTexture ( int  target  ) 

UnBindAndDeactivateTexture.

Parameters:
target 

void Powertek.OpenGl.PtFBODataRW.UnBindFBOTexture (  ) 

UnBindFBOTexture.


Property Documentation

int Powertek.OpenGl.PtFBODataRW.Height [get]

FBO Height.

int Powertek.OpenGl.PtFBODataRW.Width [get]

FBO Width.


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:46:32 2008 for Powertek.OpenGl, 2.0.6.64 by  doxygen 1.5.7.1