Upravit

Sdílet prostřednictvím


GL.Uniform2 Method

Definition

Overloads

Uniform2(Int32, Int32, Single*)
Uniform2(Int32, Single, Single)
Uniform2(Int32, Int32, Single[])
Uniform2(Int32, Int32, Single)
Uniform2(Int32, Vector2)
Uniform2(Int32, Int32, Int32*)
Uniform2(Int32, Int32, Int32)
Uniform2(Int32, Vector2)
Uniform2(Int32, Int32, Int32[])

Uniform2(Int32, Int32, Single*)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glUniform2fv", Version="2.0")]
[System.CLSCompliant(false)]
public static void Uniform2 (int location, int count, float* v);
static member Uniform2 : int * int * nativeptr<single> -> unit

Parameters

location
Int32
count
Int32
v
Single*
Attributes

Applies to

Uniform2(Int32, Single, Single)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glUniform2f", Version="2.0")]
public static void Uniform2 (int location, float x, float y);
static member Uniform2 : int * single * single -> unit

Parameters

location
Int32
x
Single
y
Single
Attributes

Applies to

Uniform2(Int32, Int32, Single[])

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glUniform2fv", Version="2.0")]
public static void Uniform2 (int location, int count, float[] v);
static member Uniform2 : int * int * single[] -> unit

Parameters

location
Int32
count
Int32
v
Single[]
Attributes

Applies to

Uniform2(Int32, Int32, Single)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glUniform2fv", Version="2.0")]
public static void Uniform2 (int location, int count, ref float v);
static member Uniform2 : int * int *  -> unit

Parameters

location
Int32
count
Int32
v
Single
Attributes

Applies to

Uniform2(Int32, Vector2)

public static void Uniform2 (int location, OpenTK.Vector2 vector);
static member Uniform2 : int * OpenTK.Vector2 -> unit

Parameters

location
Int32
vector
Vector2

Applies to

Uniform2(Int32, Int32, Int32*)

Important

This API is not CLS-compliant.

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glUniform2iv", Version="2.0")]
[System.CLSCompliant(false)]
public static void Uniform2 (int location, int count, int* v);
static member Uniform2 : int * int * nativeptr<int> -> unit

Parameters

location
Int32
count
Int32
v
Int32*
Attributes

Applies to

Uniform2(Int32, Int32, Int32)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glUniform2i", Version="2.0")]
public static void Uniform2 (int location, int x, int y);
static member Uniform2 : int * int * int -> unit

Parameters

location
Int32
x
Int32
y
Int32
Attributes

Applies to

Uniform2(Int32, Vector2)

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public static void Uniform2 (int location, ref OpenTK.Vector2 vector);
static member Uniform2 : int *  -> unit

Parameters

location
Int32
vector
Vector2
Attributes

Applies to

Uniform2(Int32, Int32, Int32[])

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glUniform2iv", Version="2.0")]
public static void Uniform2 (int location, int count, int[] v);
static member Uniform2 : int * int * int[] -> unit

Parameters

location
Int32
count
Int32
v
Int32[]
Attributes

Applies to