Język

GLES20.GlGetProgramiv Method

Definition

Overloads

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

Gets one program status, count, or required string-buffer length.

GlGetProgramiv(Int32, Int32, IntBuffer)

Gets one program status, count, or required string-buffer length.

GlGetProgramiv(Int32, Int32, Int32[], Int32)

Gets one program status, count, or required string-buffer length.

[Android.Runtime.Register("glGetProgramiv", "(II[II)V", "")]
public static void GlGetProgramiv(int program, int pname, int[]? params, int offset);
[<Android.Runtime.Register("glGetProgramiv", "(II[II)V", "")>]
static member GlGetProgramiv : int * int * int[] * int -> unit

Parameters

program
Int32

The program object's unsigned name bit pattern.

pname
Int32

The supported program-property selector, such as GL_LINK_STATUS or GL_ACTIVE_UNIFORMS.

params
Int32[]

A non-null output array starting at offset with room for one integer value. String-buffer lengths count bytes including the zero terminator, not managed characters.

offset
Int32

The nonnegative starting array index, measured in result elements 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

GlGetProgramiv(Int32, Int32, IntBuffer)

Gets one program status, count, or required string-buffer length.

[Android.Runtime.Register("glGetProgramiv", "(IILjava/nio/IntBuffer;)V", "")]
public static void GlGetProgramiv(int program, int pname, Java.Nio.IntBuffer? params);
[<Android.Runtime.Register("glGetProgramiv", "(IILjava/nio/IntBuffer;)V", "")>]
static member GlGetProgramiv : int * int * Java.Nio.IntBuffer -> unit

Parameters

program
Int32

The program object's unsigned name bit pattern.

pname
Int32

The supported program-property selector, such as GL_LINK_STATUS or GL_ACTIVE_UNIFORMS.

params
IntBuffer

A non-null direct, native-order output buffer at its current position with room for one integer value. The JNI minimum-size test compares bytes with scalar counts. Array-backed cleanup is unsafe. String-buffer lengths count bytes including the zero terminator, not managed characters.

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