Język

GLES30.GlGetFragDataLocation(Int32, String) Method

Definition

Finds the color-output location assigned to a named fragment output.

[Android.Runtime.Register("glGetFragDataLocation", "(ILjava/lang/String;)I", "")]
public static int GlGetFragDataLocation(int program, string? name);
[<Android.Runtime.Register("glGetFragDataLocation", "(ILjava/lang/String;)I", "")>]
static member GlGetFragDataLocation : int * string -> int

Parameters

program
Int32

The linked program whose fragment-output binding is queried.

name
String

The non-null name of the fragment-shader output variable.

Returns

The assigned color-output location, or minus one when the name is not an active fragment output.

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