C# Class CSharpGL.Renderbuffer

Create, update, use and delete a renderbuffer object.
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
CreateColorbuffer ( int width, int height, uint internalFormat = OpenGL.GL_RGBA ) : Renderbuffer

CreateDepthbuffer ( int width, int height, DepthComponentType internalFormat = DepthComponentType.DepthComponent ) : Renderbuffer

CreateDepthbuffer ( int width, int height, uint internalFormat = OpenGL.GL_DEPTH_COMPONENT ) : Renderbuffer

Dispose ( ) : void

Renderbuffer ( int width, int height, uint internalformat, RenderbufferType bufferType )

Create, update, use and delete a renderbuffer object.

ToString ( ) : string

Bind a named renderbuffer object.

Unbind this renderbuffer object.

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

CreateColorbuffer() public static method

public static CreateColorbuffer ( int width, int height, uint internalFormat = OpenGL.GL_RGBA ) : Renderbuffer
width int
height int
internalFormat uint
return Renderbuffer

CreateDepthbuffer() public static method

public static CreateDepthbuffer ( int width, int height, DepthComponentType internalFormat = DepthComponentType.DepthComponent ) : Renderbuffer
width int
height int
internalFormat DepthComponentType
return Renderbuffer

CreateDepthbuffer() public static method

public static CreateDepthbuffer ( int width, int height, uint internalFormat = OpenGL.GL_DEPTH_COMPONENT ) : Renderbuffer
width int
height int
internalFormat uint
return Renderbuffer

Dispose() public method

public Dispose ( ) : void
return void

Renderbuffer() public method

Create, update, use and delete a renderbuffer object.
public Renderbuffer ( int width, int height, uint internalformat, RenderbufferType bufferType )
width int
height int
internalformat uint
bufferType RenderbufferType

ToString() public method

Bind a named renderbuffer object. Unbind this renderbuffer object.
public ToString ( ) : string
return string