Język

GLES20.GlGetAttachedShaders Method

Definition

Overloads

Name Description
GlGetAttachedShaders(Int32, Int32, Int32[], Int32, Int32[], Int32)

Gets up to maxcount names of shaders attached to a program.

GlGetAttachedShaders(Int32, Int32, IntBuffer, IntBuffer)

Gets up to maxcount names of shaders attached to a program.

GlGetAttachedShaders(Int32, Int32, Int32[], Int32, Int32[], Int32)

Gets up to maxcount names of shaders attached to a program.

[Android.Runtime.Register("glGetAttachedShaders", "(II[II[II)V", "")]
public static void GlGetAttachedShaders(int program, int maxcount, int[]? count, int countOffset, int[]? shaders, int shadersOffset);
[<Android.Runtime.Register("glGetAttachedShaders", "(II[II[II)V", "")>]
static member GlGetAttachedShaders : int * int * int[] * int * int[] * int -> unit

Parameters

program
Int32

The program object's unsigned name bit pattern.

maxcount
Int32

The nonnegative maximum number of attached shader names to return.

count
Int32[]

An optional output array at countOffset for the actual number of names returned; null omits it.

countOffset
Int32

The nonnegative integer-array index for count; ignored when count is null.

shaders
Int32[]

A non-null output array at shadersOffset with room for maxcount unsigned shader-name bit patterns.

shadersOffset
Int32

The nonnegative starting array index, measured in shader names rather than bytes.

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

GlGetAttachedShaders(Int32, Int32, IntBuffer, IntBuffer)

Gets up to maxcount names of shaders attached to a program.

[Android.Runtime.Register("glGetAttachedShaders", "(IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)V", "")]
public static void GlGetAttachedShaders(int program, int maxcount, Java.Nio.IntBuffer? count, Java.Nio.IntBuffer? shaders);
[<Android.Runtime.Register("glGetAttachedShaders", "(IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;)V", "")>]
static member GlGetAttachedShaders : int * int * Java.Nio.IntBuffer * Java.Nio.IntBuffer -> unit

Parameters

program
Int32

The program object's unsigned name bit pattern.

maxcount
Int32

The nonnegative maximum number of attached shader names to return.

count
IntBuffer

An optional native-order output buffer (direct or accessible array-backed) at its current position for one integer count; null omits it. JNI compares bytes with integer counts; the array-backed path releases the position-adjusted pointer. Use a direct buffer to avoid this release path.

shaders
IntBuffer

A non-null native-order output buffer (direct or accessible array-backed) at its current position with room for maxcount unsigned shader-name bit patterns. JNI compares bytes with maxcount rather than integer entries; the array-backed path releases the position-adjusted pointer. Use a direct buffer to avoid this release path.

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