Język

GLES31.GlProgramUniform1f(Int32, Int32, Single) Method

Definition

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

[Android.Runtime.Register("glProgramUniform1f", "(IIF)V", "")]
public static void GlProgramUniform1f(int program, int location, float v0);
[<Android.Runtime.Register("glProgramUniform1f", "(IIF)V", "")>]
static member GlProgramUniform1f : int * int * 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.

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