GLES31.GlCreateShaderProgramv(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.
Creates a separable program from source strings for one shader stage.
[Android.Runtime.Register("glCreateShaderProgramv", "(I[Ljava/lang/String;)I", "")]
public static int GlCreateShaderProgramv(int type, string[]? strings);
[<Android.Runtime.Register("glCreateShaderProgramv", "(I[Ljava/lang/String;)I", "")>]
static member GlCreateShaderProgramv : int * string[] -> int
Parameters
- type
- Int32
The shader-stage type to compile and link into the separable program.
- strings
- String[]
A non-null array of shader-source strings; every element must be non-null. The array length supplies the native string count.
Returns
The program-object name, or zero if creation fails. A nonzero name does not prove that compilation or linking succeeded.
- 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.