Język

GLES31.GlProgramUniform3f(Int32, Int32, Single, Single, Single) Method

Definition

Sets a 3-component floating-point uniform directly in a specified program object.

[Android.Runtime.Register("glProgramUniform3f", "(IIFFF)V", "")]
public static void GlProgramUniform3f(int program, int location, float v0, float v1, float v2);
[<Android.Runtime.Register("glProgramUniform3f", "(IIFFF)V", "")>]
static member GlProgramUniform3f : int * int * single * single * single -> unit

Parameters

program
Int32

The name of a successfully linked program object; it need not be the current program.

location
Int32

The uniform location in program, or minus one to ignore the update.

v0
Single

The first floating-point component of the new uniform value.

v1
Single

The second floating-point component of the new uniform value.

v2
Single

The third floating-point component of the new uniform value.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to