Modifier

Partager via


GL.GetShaderPrecisionFormat Method

Definition

Overloads

GetShaderPrecisionFormat(All, All, Int32, Int32)
Obsolete.
GetShaderPrecisionFormat(All, All, Int32*, Int32*)
Obsolete.
GetShaderPrecisionFormat(All, All, Int32[], Int32[])
Obsolete.
GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32, Int32)
GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32*, Int32*)
GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32[], Int32[])

GetShaderPrecisionFormat(All, All, Int32, Int32)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderPrecisionFormat", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, ref int range, ref int precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All *  *  -> unit

Parameters

shadertype
All
precisiontype
All
range
Int32
precision
Int32
Attributes

Applies to

GetShaderPrecisionFormat(All, All, Int32*, Int32*)

Caution

Use the overload with strongly typed enumerations

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderPrecisionFormat", Version="2.0")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, int* range, int* precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * nativeptr<int> * nativeptr<int> -> unit

Parameters

shadertype
All
precisiontype
All
range
Int32*
precision
Int32*
Attributes

Applies to

GetShaderPrecisionFormat(All, All, Int32[], Int32[])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderPrecisionFormat", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, int[] range, int[] precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * int[] * int[] -> unit

Parameters

shadertype
All
precisiontype
All
range
Int32[]
precision
Int32[]
Attributes

Applies to

GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32, Int32)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderPrecisionFormat", Version="2.0")]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, out int range, out int precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES20.ShaderType * OpenTK.Graphics.ES20.ShaderPrecision *  *  -> unit

Parameters

shadertype
ShaderType
precisiontype
ShaderPrecision
range
Int32
precision
Int32
Attributes

Applies to

GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32*, Int32*)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderPrecisionFormat", Version="2.0")]
[System.CLSCompliant(false)]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, int* range, int* precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES20.ShaderType * OpenTK.Graphics.ES20.ShaderPrecision * nativeptr<int> * nativeptr<int> -> unit

Parameters

shadertype
ShaderType
precisiontype
ShaderPrecision
range
Int32*
precision
Int32*
Attributes

Applies to

GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32[], Int32[])

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glGetShaderPrecisionFormat", Version="2.0")]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, int[] range, int[] precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES20.ShaderType * OpenTK.Graphics.ES20.ShaderPrecision * int[] * int[] -> unit

Parameters

shadertype
ShaderType
precisiontype
ShaderPrecision
range
Int32[]
precision
Int32[]
Attributes

Applies to