C# Class CSharpGL.Shader

Inheritance: IDisposable
显示文件 Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Create ( uint shaderType, string source ) : void

Create and compile this shader.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Private Methods

Method Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

GetCompileStatus ( uint shaderId ) : bool

GetInfoLog ( uint shaderId ) : string

Method Details

Create() public method

Create and compile this shader.
public Create ( uint shaderType, string source ) : void
shaderType uint
source string
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void