GLES31.GlProgramUniform4f Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a 4-component floating-point uniform directly in a specified program object.
[Android.Runtime.Register("glProgramUniform4f", "(IIFFFF)V", "")]
public static void GlProgramUniform4f(int program, int location, float v0, float v1, float v2, float v3);
[<Android.Runtime.Register("glProgramUniform4f", "(IIFFFF)V", "")>]
static member GlProgramUniform4f : int * int * single * 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.
- v3
- Single
The fourth 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.