GL.AttachShader 方法

定义

重载

AttachShader(Int32, Int32)
AttachShader(UInt32, UInt32)

AttachShader(Int32, Int32)

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

参数

program
Int32
shader
Int32
属性

适用于

AttachShader(UInt32, UInt32)

重要

此 API 不符合 CLS。

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

参数

program
UInt32
shader
UInt32
属性

适用于