GL.GetUniformLocation GL.GetUniformLocation Method

Definition

Overloads

GetUniformLocation(Int32, String) GetUniformLocation(Int32, String)
GetUniformLocation(UInt32, String) GetUniformLocation(UInt32, String)

GetUniformLocation(Int32, String) GetUniformLocation(Int32, String)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetUniformLocation", Version="3.0")]
public static int GetUniformLocation (int program, string name);
static member GetUniformLocation : int * string -> int

Parameters

program
Int32 Int32
name
String String

Returns

GetUniformLocation(UInt32, String) GetUniformLocation(UInt32, String)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetUniformLocation", Version="3.0")]
[System.CLSCompliant(false)]
public static int GetUniformLocation (uint program, string name);
static member GetUniformLocation : uint32 * string -> int

Parameters

program
UInt32 UInt32
name
String String

Returns

Applies to