Język

GLES20.GlAttachShader(Int32, Int32) Method

Definition

Attaches a shader object to a program for later linking.

[Android.Runtime.Register("glAttachShader", "(II)V", "")]
public static void GlAttachShader(int program, int shader);
[<Android.Runtime.Register("glAttachShader", "(II)V", "")>]
static member GlAttachShader : int * int -> unit

Parameters

program
Int32

The program object's unsigned name bit pattern.

shader
Int32

The shader object's unsigned name bit pattern.

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