GL.GetAttribLocation 方法

定义

重载

GetAttribLocation(Int32, String)
GetAttribLocation(UInt32, String)

GetAttribLocation(Int32, String)

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

参数

program
Int32
name
String

返回

属性

适用于

GetAttribLocation(UInt32, String)

重要

此 API 不符合 CLS。

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

参数

program
UInt32
name
String

返回

属性

适用于