C# Class NewTOAPIA.GL.GLFrameBufferObject

Inheritance: IBindable
Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
Attach1DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex ) : void
Attach1DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex, int mipLevel ) : void
Attach1DTexture ( GLTexture2D tex ) : void
Attach2DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex ) : void
Attach2DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex, int mipLevel ) : void
Attach2DTexture ( GLTexture2D tex ) : void
Attach3DTexture ( GLTexture2D tex ) : void
Attach3DTexture ( GLTexture2D tex, ColorBufferAttachPoint attachType ) : void
Attach3DTexture ( GLTexture2D tex, ColorBufferAttachPoint attachType, int mipLevel ) : void
Attach3DTexture ( GLTexture2D tex, ColorBufferAttachPoint attachType, int mipLevel, int zOffset ) : void
AttachColorBuffer ( GLTexture2D colorbuffer ) : void
AttachColorBuffer ( GLTexture2D colorbuffer, ColorBufferAttachPoint attachPosition ) : void
AttachDepthBuffer ( GLRenderBuffer depthbuffer ) : void

Attach a RenderBuffer as the depth buffer of the FrameBuffer set.

AttachRenderBuffer ( GLRenderBuffer rendBuffer ) : void
AttachRenderBuffer ( GLRenderBuffer rendBuffer, int attachtype ) : void
Bind ( ) : void
GLFrameBufferObject ( GraphicsInterface gi ) : TOAPI.OpenGL
GetNewID ( GraphicsInterface gi ) : int
Unbind ( ) : void

Method Details

Attach1DTexture() public method

public Attach1DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex ) : void
attachType ColorBufferAttachPoint
tex GLTexture2D
return void

Attach1DTexture() public method

public Attach1DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex, int mipLevel ) : void
attachType ColorBufferAttachPoint
tex GLTexture2D
mipLevel int
return void

Attach1DTexture() public method

public Attach1DTexture ( GLTexture2D tex ) : void
tex GLTexture2D
return void

Attach2DTexture() public method

public Attach2DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex ) : void
attachType ColorBufferAttachPoint
tex GLTexture2D
return void

Attach2DTexture() public method

public Attach2DTexture ( ColorBufferAttachPoint attachType, GLTexture2D tex, int mipLevel ) : void
attachType ColorBufferAttachPoint
tex GLTexture2D
mipLevel int
return void

Attach2DTexture() public method

public Attach2DTexture ( GLTexture2D tex ) : void
tex GLTexture2D
return void

Attach3DTexture() public method

public Attach3DTexture ( GLTexture2D tex ) : void
tex GLTexture2D
return void

Attach3DTexture() public method

public Attach3DTexture ( GLTexture2D tex, ColorBufferAttachPoint attachType ) : void
tex GLTexture2D
attachType ColorBufferAttachPoint
return void

Attach3DTexture() public method

public Attach3DTexture ( GLTexture2D tex, ColorBufferAttachPoint attachType, int mipLevel ) : void
tex GLTexture2D
attachType ColorBufferAttachPoint
mipLevel int
return void

Attach3DTexture() public method

public Attach3DTexture ( GLTexture2D tex, ColorBufferAttachPoint attachType, int mipLevel, int zOffset ) : void
tex GLTexture2D
attachType ColorBufferAttachPoint
mipLevel int
zOffset int
return void

AttachColorBuffer() public method

public AttachColorBuffer ( GLTexture2D colorbuffer ) : void
colorbuffer GLTexture2D
return void

AttachColorBuffer() public method

public AttachColorBuffer ( GLTexture2D colorbuffer, ColorBufferAttachPoint attachPosition ) : void
colorbuffer GLTexture2D
attachPosition ColorBufferAttachPoint
return void

AttachDepthBuffer() public method

Attach a RenderBuffer as the depth buffer of the FrameBuffer set.
public AttachDepthBuffer ( GLRenderBuffer depthbuffer ) : void
depthbuffer GLRenderBuffer
return void

AttachRenderBuffer() public method

public AttachRenderBuffer ( GLRenderBuffer rendBuffer ) : void
rendBuffer GLRenderBuffer
return void

AttachRenderBuffer() public method

public AttachRenderBuffer ( GLRenderBuffer rendBuffer, int attachtype ) : void
rendBuffer GLRenderBuffer
attachtype int
return void

Bind() public method

public Bind ( ) : void
return void

GLFrameBufferObject() public method

public GLFrameBufferObject ( GraphicsInterface gi ) : TOAPI.OpenGL
gi GraphicsInterface
return TOAPI.OpenGL

GetNewID() public static method

public static GetNewID ( GraphicsInterface gi ) : int
gi GraphicsInterface
return int

Unbind() public method

public Unbind ( ) : void
return void