Edytuj

Udostępnij za pośrednictwem


GL.GetShaderPrecisionFormat Method

Definition

Overloads

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

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

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetShaderPrecisionFormat", Version="3.0")]
[System.CLSCompliant(false)]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, int* range, int* precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES30.ShaderType * OpenTK.Graphics.ES30.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="3.0", EntryPoint="glGetShaderPrecisionFormat", Version="3.0")]
public static void GetShaderPrecisionFormat (OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, int[] range, int[] precision);
static member GetShaderPrecisionFormat : OpenTK.Graphics.ES30.ShaderType * OpenTK.Graphics.ES30.ShaderPrecision * int[] * int[] -> unit

Parameters

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

Applies to

GetShaderPrecisionFormat(ShaderType, ShaderPrecision, Int32, Int32)

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

Parameters

shadertype
ShaderType
precisiontype
ShaderPrecision
range
Int32
precision
Int32
Attributes

Applies to