Upravit

Sdílet prostřednictvím


GL.GetUniformLocation Method

Definition

Overloads

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

GetUniformLocation(Int32, String)

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

Parameters

program
Int32
name
String

Returns

Attributes

Applies to

GetUniformLocation(UInt32, String)

Important

This API is not CLS-compliant.

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

Parameters

program
UInt32
name
String

Returns

Attributes

Applies to