GL.UseProgram 方法

定义

重载

UseProgram(Int32)
UseProgram(UInt32)

UseProgram(Int32)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glUseProgram", Version="3.0")]
public static void UseProgram (int program);
static member UseProgram : int -> unit

参数

program
Int32
属性

适用于

UseProgram(UInt32)

重要

此 API 不符合 CLS。

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glUseProgram", Version="3.0")]
[System.CLSCompliant(false)]
public static void UseProgram (uint program);
static member UseProgram : uint32 -> unit

参数

program
UInt32
属性

适用于