GLES31.GlGetProgramResourceLocation(Int32, Int32, String) 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.
Finds the location assigned to a named active program variable.
[Android.Runtime.Register("glGetProgramResourceLocation", "(IILjava/lang/String;)I", "")]
public static int GlGetProgramResourceLocation(int program, int programInterface, string? name);
[<Android.Runtime.Register("glGetProgramResourceLocation", "(IILjava/lang/String;)I", "")>]
static member GlGetProgramResourceLocation : int * int * string -> int
Parameters
- program
- Int32
The successfully linked program object to query.
- programInterface
- Int32
GL_UNIFORM, GL_PROGRAM_INPUT, or GL_PROGRAM_OUTPUT.
- name
- String
The non-null active-variable or array-element name to query.
Returns
The variable or array-element location, or minus one when no valid location is found or a GL error occurs.
- 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.