C# Class FireflyGL.ShaderProgram

Inheritance: IDeletable
Show file Open project: LukaHorvat/Kento Class Usage Examples

Public Methods

Method Description
AddAttribLocation ( string Attribute ) : void
AddUniformLocation ( string Uniform ) : void
AttachShader ( Shader Shader ) : void
Link ( ) : void
ShaderProgram ( ) : System.Collections.Generic
ShaderProgram ( VertexShader VertexShader, FragmentShader FragmentShader ) : System.Collections.Generic
Use ( ) : void

Method Details

AddAttribLocation() public method

public AddAttribLocation ( string Attribute ) : void
Attribute string
return void

AddUniformLocation() public method

public AddUniformLocation ( string Uniform ) : void
Uniform string
return void

AttachShader() public method

public AttachShader ( Shader Shader ) : void
Shader Shader
return void

Link() public method

public Link ( ) : void
return void

ShaderProgram() public method

public ShaderProgram ( ) : System.Collections.Generic
return System.Collections.Generic

ShaderProgram() public method

public ShaderProgram ( VertexShader VertexShader, FragmentShader FragmentShader ) : System.Collections.Generic
VertexShader VertexShader
FragmentShader FragmentShader
return System.Collections.Generic

Use() public method

public Use ( ) : void
return void