GL.GetFloat 方法

定义

重载

GetFloat(GetPName, Matrix4)
GetFloat(GetPName, Vector2)
GetFloat(GetPName, Vector3)
GetFloat(GetPName, Vector4)
GetFloat(GetPName, Single)
GetFloat(GetPName, Single*)
GetFloat(GetPName, Single[])

GetFloat(GetPName, Matrix4)

public static void GetFloat (OpenTK.Graphics.ES30.GetPName pname, out OpenTK.Matrix4 matrix);
static member GetFloat : OpenTK.Graphics.ES30.GetPName *  -> unit

参数

pname
GetPName
matrix
Matrix4

适用于

GetFloat(GetPName, Vector2)

public static void GetFloat (OpenTK.Graphics.ES30.GetPName pname, out OpenTK.Vector2 vector);
static member GetFloat : OpenTK.Graphics.ES30.GetPName *  -> unit

参数

pname
GetPName
vector
Vector2

适用于

GetFloat(GetPName, Vector3)

public static void GetFloat (OpenTK.Graphics.ES30.GetPName pname, out OpenTK.Vector3 vector);
static member GetFloat : OpenTK.Graphics.ES30.GetPName *  -> unit

参数

pname
GetPName
vector
Vector3

适用于

GetFloat(GetPName, Vector4)

public static void GetFloat (OpenTK.Graphics.ES30.GetPName pname, out OpenTK.Vector4 vector);
static member GetFloat : OpenTK.Graphics.ES30.GetPName *  -> unit

参数

pname
GetPName
vector
Vector4

适用于

GetFloat(GetPName, Single)

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetFloatv", Version="3.0")]
public static void GetFloat (OpenTK.Graphics.ES30.GetPName pname, out float params);
static member GetFloat : OpenTK.Graphics.ES30.GetPName *  -> unit

参数

pname
GetPName
params
Single
属性

适用于

GetFloat(GetPName, Single*)

重要

此 API 不符合 CLS。

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetFloatv", Version="3.0")]
[System.CLSCompliant(false)]
public static void GetFloat (OpenTK.Graphics.ES30.GetPName pname, float* params);
static member GetFloat : OpenTK.Graphics.ES30.GetPName * nativeptr<single> -> unit

参数

pname
GetPName
params
Single*
属性

适用于

GetFloat(GetPName, Single[])

[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glGetFloatv", Version="3.0")]
public static void GetFloat (OpenTK.Graphics.ES30.GetPName pname, float[] params);
static member GetFloat : OpenTK.Graphics.ES30.GetPName * single[] -> unit

参数

pname
GetPName
params
Single[]
属性

适用于