Upravit

Sdílet prostřednictvím


GL.Uniform1 Method

Definition

Overloads

Uniform1(Int32, Int32)
Uniform1(Int32, Single)
Uniform1(Int32, Int32, Int32)
Uniform1(Int32, Int32, Int32*)
Uniform1(Int32, Int32, Int32[])
Uniform1(Int32, Int32, Single)
Uniform1(Int32, Int32, Single*)
Uniform1(Int32, Int32, Single[])

Uniform1(Int32, Int32)

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

Parameters

location
Int32
x
Int32
Attributes

Applies to

Uniform1(Int32, Single)

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

Parameters

location
Int32
x
Single
Attributes

Applies to

Uniform1(Int32, Int32, Int32)

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

Parameters

location
Int32
count
Int32
v
Int32
Attributes

Applies to

Uniform1(Int32, Int32, Int32*)

Important

This API is not CLS-compliant.

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

Parameters

location
Int32
count
Int32
v
Int32*
Attributes

Applies to

Uniform1(Int32, Int32, Int32[])

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

Parameters

location
Int32
count
Int32
v
Int32[]
Attributes

Applies to

Uniform1(Int32, Int32, Single)

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

Parameters

location
Int32
count
Int32
v
Single
Attributes

Applies to

Uniform1(Int32, Int32, Single*)

Important

This API is not CLS-compliant.

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

Parameters

location
Int32
count
Int32
v
Single*
Attributes

Applies to

Uniform1(Int32, Int32, Single[])

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

Parameters

location
Int32
count
Int32
v
Single[]
Attributes

Applies to