GL.Uniform1 方法

定义

重载

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

参数

location
Int32
x
Int32
属性

适用于

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

参数

location
Int32
x
Single
属性

适用于

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

参数

location
Int32
count
Int32
v
Int32
属性

适用于

Uniform1(Int32, Int32, Int32*)

重要

此 API 不符合 CLS。

[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

参数

location
Int32
count
Int32
v
Int32*
属性

适用于

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

参数

location
Int32
count
Int32
v
Int32[]
属性

适用于

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

参数

location
Int32
count
Int32
v
Single
属性

适用于

Uniform1(Int32, Int32, Single*)

重要

此 API 不符合 CLS。

[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

参数

location
Int32
count
Int32
v
Single*
属性

适用于

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

参数

location
Int32
count
Int32
v
Single[]
属性

适用于