GL.GetUniformLocation 方法

定义

重载

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

参数

program
Int32
name
String

返回

属性

适用于

GetUniformLocation(UInt32, String)

重要

此 API 不符合 CLS。

[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

参数

program
UInt32
name
String

返回

属性

适用于