C# Class CSharpGL.Renderbuffer

Create, update, use and delete a renderbuffer object.
Afficher le fichier Open project: bitzhuwei/CSharpGL Class Usage Examples

Méthodes publiques

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

Méthode Description
Dispose ( bool disposing ) : void

Method Details

CreateColorbuffer() public static méthode

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

CreateDepthbuffer() public static méthode

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

CreateDepthbuffer() public static méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Renderbuffer() public méthode

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

Bind a named renderbuffer object. Unbind this renderbuffer object.
public ToString ( ) : string
Résultat string