GL.ProgramParameter 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- pname
- ProgramParameterName
- 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
- pname
- ProgramParameterName
- value
- Int32
- 屬性