GLES20.GlShaderSource(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.
Replaces a shader's stored source with one string without compiling it; shader-compiler support is required.
[Android.Runtime.Register("glShaderSource", "(ILjava/lang/String;)V", "")]
public static void GlShaderSource(int shader, string? string);
[<Android.Runtime.Register("glShaderSource", "(ILjava/lang/String;)V", "")>]
static member GlShaderSource : int * string -> unit
Parameters
- shader
- Int32
The shader object's unsigned name bit pattern.
- string
- String
The non-null source string. JNI encodes it and passes one zero-terminated native string, not an array of source strings.
- 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.