GL.GetShader 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetShader(UInt32, ShaderParameter, Int32[])
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
public static void GetShader (uint shader, OpenTK.Graphics.ES20.ShaderParameter pname, int[] params);
static member GetShader : uint32 * OpenTK.Graphics.ES20.ShaderParameter * int[] -> unit
參數
- shader
- UInt32
- pname
- ShaderParameter
- params
- Int32[]
- 屬性
適用於
GetShader(UInt32, ShaderParameter, Int32*)
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
public static void GetShader (uint shader, OpenTK.Graphics.ES20.ShaderParameter pname, int* params);
static member GetShader : uint32 * OpenTK.Graphics.ES20.ShaderParameter * nativeptr<int> -> unit
參數
- shader
- UInt32
- pname
- ShaderParameter
- params
- Int32*
- 屬性
適用於
GetShader(UInt32, ShaderParameter, Int32)
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
public static void GetShader (uint shader, OpenTK.Graphics.ES20.ShaderParameter pname, out int params);
static member GetShader : uint32 * OpenTK.Graphics.ES20.ShaderParameter * -> unit
參數
- shader
- UInt32
- pname
- ShaderParameter
- params
- Int32
- 屬性
適用於
GetShader(UInt32, All, Int32[])
警告
Use the overload with strongly typed enumerations
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShader (uint shader, OpenTK.Graphics.ES20.All pname, int[] params);
static member GetShader : uint32 * OpenTK.Graphics.ES20.All * int[] -> unit
參數
- shader
- UInt32
- pname
- All
- params
- Int32[]
- 屬性
適用於
GetShader(UInt32, All, Int32*)
警告
Use the overload with strongly typed enumerations
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShader (uint shader, OpenTK.Graphics.ES20.All pname, int* params);
static member GetShader : uint32 * OpenTK.Graphics.ES20.All * nativeptr<int> -> unit
參數
- shader
- UInt32
- pname
- All
- params
- Int32*
- 屬性
適用於
GetShader(UInt32, All, Int32)
警告
Use the overload with strongly typed enumerations
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShader (uint shader, OpenTK.Graphics.ES20.All pname, ref int params);
static member GetShader : uint32 * OpenTK.Graphics.ES20.All * -> unit
參數
- shader
- UInt32
- pname
- All
- params
- Int32
- 屬性
適用於
GetShader(Int32, ShaderParameter, Int32*)
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
public static void GetShader (int shader, OpenTK.Graphics.ES20.ShaderParameter pname, int* params);
static member GetShader : int * OpenTK.Graphics.ES20.ShaderParameter * nativeptr<int> -> unit
參數
- shader
- Int32
- pname
- ShaderParameter
- params
- Int32*
- 屬性
適用於
GetShader(Int32, ShaderParameter, Int32)
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
public static void GetShader (int shader, OpenTK.Graphics.ES20.ShaderParameter pname, out int params);
static member GetShader : int * OpenTK.Graphics.ES20.ShaderParameter * -> unit
參數
- shader
- Int32
- pname
- ShaderParameter
- params
- Int32
- 屬性
適用於
GetShader(Int32, All, Int32[])
警告
Use the overload with strongly typed enumerations
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShader (int shader, OpenTK.Graphics.ES20.All pname, int[] params);
static member GetShader : int * OpenTK.Graphics.ES20.All * int[] -> unit
參數
- shader
- Int32
- pname
- All
- params
- Int32[]
- 屬性
適用於
GetShader(Int32, All, Int32*)
警告
Use the overload with strongly typed enumerations
重要
此 API 不符合 CLS 規範。
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShader (int shader, OpenTK.Graphics.ES20.All pname, int* params);
static member GetShader : int * OpenTK.Graphics.ES20.All * nativeptr<int> -> unit
參數
- shader
- Int32
- pname
- All
- params
- Int32*
- 屬性
適用於
GetShader(Int32, All, Int32)
警告
Use the overload with strongly typed enumerations
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShader (int shader, OpenTK.Graphics.ES20.All pname, ref int params);
static member GetShader : int * OpenTK.Graphics.ES20.All * -> unit
參數
- shader
- Int32
- pname
- All
- params
- Int32
- 屬性
適用於
GetShader(Int32, ShaderParameter, Int32[])
[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderiv", Version="2.0")]
public static void GetShader (int shader, OpenTK.Graphics.ES20.ShaderParameter pname, int[] params);
static member GetShader : int * OpenTK.Graphics.ES20.ShaderParameter * int[] -> unit
參數
- shader
- Int32
- pname
- ShaderParameter
- params
- Int32[]
- 屬性