共用方式為


GL.ProgramParameter 方法

定義

多載

ProgramParameter(UInt32, ProgramParameterName, Int32)
ProgramParameter(UInt32, All, Int32)
已淘汰.
ProgramParameter(Int32, All, Int32)
已淘汰.
ProgramParameter(Int32, ProgramParameterName, Int32)

ProgramParameter(UInt32, ProgramParameterName, Int32)

重要

此 API 不符合 CLS 規範。

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glProgramParameteri", Version="3.0")]
[System.CLSCompliant(false)]
public static void ProgramParameter (uint program, OpenTK.Graphics.ES30.ProgramParameterName pname, int value);
static member ProgramParameter : uint32 * OpenTK.Graphics.ES30.ProgramParameterName * int -> unit

參數

program
UInt32
value
Int32
屬性

適用於

ProgramParameter(UInt32, All, Int32)

警告

Use the overload with strongly typed enumerations

重要

此 API 不符合 CLS 規範。

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glProgramParameteri", Version="3.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void ProgramParameter (uint program, OpenTK.Graphics.ES30.All pname, int value);
static member ProgramParameter : uint32 * OpenTK.Graphics.ES30.All * int -> unit

參數

program
UInt32
pname
All
value
Int32
屬性

適用於

ProgramParameter(Int32, All, Int32)

警告

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glProgramParameteri", Version="3.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void ProgramParameter (int program, OpenTK.Graphics.ES30.All pname, int value);
static member ProgramParameter : int * OpenTK.Graphics.ES30.All * int -> unit

參數

program
Int32
pname
All
value
Int32
屬性

適用於

ProgramParameter(Int32, ProgramParameterName, Int32)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glProgramParameteri", Version="3.0")]
public static void ProgramParameter (int program, OpenTK.Graphics.ES30.ProgramParameterName pname, int value);
static member ProgramParameter : int * OpenTK.Graphics.ES30.ProgramParameterName * int -> unit

參數

program
Int32
value
Int32
屬性

適用於