Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
GetUniform ( string name ) : int |
public BindAttribLocation ( int attribId, string name ) : void | ||
attribId | int | |
name | string | |
Результат | void |
public GetAttribLocation ( string name ) : int | ||
name | string | |
Результат | int |
public SetUniform ( string name, Matrix4 m ) : void | ||
name | string | |
m | Matrix4 | |
Результат | void |
public SetUniform ( string name, System.Vector4 value ) : void | ||
name | string | |
value | System.Vector4 | |
Результат | void |
public SetUniform ( string name, float n ) : void | ||
name | string | |
n | float | |
Результат | void |
public SetUniform ( string name, int n ) : void | ||
name | string | |
n | int | |
Результат | 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 | |
Результат | OpenTK.Graphics.OpenGL |