Method | Description | |
---|---|---|
BindAttribLocation ( int attribId, string name ) : void | ||
Dispose ( ) : void | ||
GetAttribLocation ( string name ) : int | ||
SetUniform ( string name, Matrix4 m ) : void | ||
SetUniform ( string name, System.Vector4 value ) : void | ||
SetUniform ( string name, float n ) : void | ||
SetUniform ( string name, int n ) : void | ||
Shader ( string vertexModern, string fragmentModern, string vertexObsolete = null, string fragmentObsolete = null, string attribs = null ) : OpenTK.Graphics.OpenGL | ||
Use ( ) : void |
Method | Description | |
---|---|---|
GetUniform ( string name ) : int |
public BindAttribLocation ( int attribId, string name ) : void | ||
attribId | int | |
name | string | |
return | void |
public GetAttribLocation ( string name ) : int | ||
name | string | |
return | int |
public SetUniform ( string name, Matrix4 m ) : void | ||
name | string | |
m | Matrix4 | |
return | void |
public SetUniform ( string name, System.Vector4 value ) : void | ||
name | string | |
value | System.Vector4 | |
return | void |
public SetUniform ( string name, float n ) : void | ||
name | string | |
n | float | |
return | void |
public SetUniform ( string name, int n ) : void | ||
name | string | |
n | int | |
return | void |
public Shader ( string vertexModern, string fragmentModern, string vertexObsolete = null, string fragmentObsolete = null, string attribs = null ) : OpenTK.Graphics.OpenGL | ||
vertexModern | string | |
fragmentModern | string | |
vertexObsolete | string | |
fragmentObsolete | string | |
attribs | string | |
return | OpenTK.Graphics.OpenGL |