C# Class CSharpGL.Framebuffer

Inheritance: IDisposable
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Bind ( FramebufferTarget target = FramebufferTarget.Framebuffer ) : void

start to use this framebuffer.

CheckCompleteness ( ) : bool

check completeness.

Dispose ( ) : void

Framebuffer ( ) : System

Create an empty framebuffer object.

MaxColorAttachments ( ) : int

MaxFramebufferHeight ( ) : int

MaxFramebufferLayers ( ) : int

MaxFramebufferSamples ( ) : int

MaxFramebufferWidth ( ) : int

SetParameter ( int width, int height, int samples ) : void

Sets the size of an empty framebuffer.

ToString ( ) : string

Unbind ( FramebufferTarget target = FramebufferTarget.Framebuffer ) : void

stop to use this framebuffer(and use default framebuffer).

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Bind() public method

start to use this framebuffer.
public Bind ( FramebufferTarget target = FramebufferTarget.Framebuffer ) : void
target FramebufferTarget
return void

CheckCompleteness() public method

check completeness.
public CheckCompleteness ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

Framebuffer() public method

Create an empty framebuffer object.
public Framebuffer ( ) : System
return System

MaxColorAttachments() public static method

public static MaxColorAttachments ( ) : int
return int

MaxFramebufferHeight() public static method

public static MaxFramebufferHeight ( ) : int
return int

MaxFramebufferLayers() public static method

public static MaxFramebufferLayers ( ) : int
return int

MaxFramebufferSamples() public static method

public static MaxFramebufferSamples ( ) : int
return int

MaxFramebufferWidth() public static method

public static MaxFramebufferWidth ( ) : int
return int

SetParameter() public method

Sets the size of an empty framebuffer.
public SetParameter ( int width, int height, int samples ) : void
width int
height int
samples int how many samples?
return void

ToString() public method

public ToString ( ) : string
return string

Unbind() public method

stop to use this framebuffer(and use default framebuffer).
public Unbind ( FramebufferTarget target = FramebufferTarget.Framebuffer ) : void
target FramebufferTarget
return void