共用方式為


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
屬性

適用於