Language

GLES30.GlGetActiveUniformBlockName Method

Definition

Overloads

Name Description
GlGetActiveUniformBlockName(Int32, Int32, Int32, Int32[], Int32, Byte[], Int32)

Copies an active uniform block's name into output storage.

GlGetActiveUniformBlockName(Int32, Int32, Buffer, Buffer)

Copies an active uniform block's name into output storage.

GlGetActiveUniformBlockName(Int32, Int32)

Gets the name of an active uniform block.

GlGetActiveUniformBlockName(Int32, Int32, Int32, Int32[], Int32, Byte[], Int32)

Copies an active uniform block's name into output storage.

[Android.Runtime.Register("glGetActiveUniformBlockName", "(III[II[BI)V", "")]
public static void GlGetActiveUniformBlockName(int program, int uniformBlockIndex, int bufSize, int[]? length, int lengthOffset, byte[]? uniformBlockName, int uniformBlockNameOffset);
[<Android.Runtime.Register("glGetActiveUniformBlockName", "(III[II[BI)V", "")>]
static member GlGetActiveUniformBlockName : int * int * int * int[] * int * byte[] * int -> unit

Parameters

program
Int32

The program object containing the active uniform block.

uniformBlockIndex
Int32

A valid active uniform-block index within program.

bufSize
Int32

The non-negative maximum number of name bytes to write, including the terminating zero.

length
Int32[]

An optional output array with room for one integer after lengthOffset; receives the name byte count excluding the terminating zero.

lengthOffset
Int32

The non-negative starting length-array index; ignored when length is null.

uniformBlockName
Byte[]

A non-null output array with room for bufSize bytes after uniformBlockNameOffset. Capacity is not checked.

uniformBlockNameOffset
Int32

The non-negative starting name-array index, measured in 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

GlGetActiveUniformBlockName(Int32, Int32, Buffer, Buffer)

Copies an active uniform block's name into output storage.

[Android.Runtime.Register("glGetActiveUniformBlockName", "(IILjava/nio/Buffer;Ljava/nio/Buffer;)V", "")]
public static void GlGetActiveUniformBlockName(int program, int uniformBlockIndex, Java.Nio.Buffer? length, Java.Nio.Buffer? uniformBlockName);
[<Android.Runtime.Register("glGetActiveUniformBlockName", "(IILjava/nio/Buffer;Ljava/nio/Buffer;)V", "")>]
static member GlGetActiveUniformBlockName : int * int * Java.Nio.Buffer * Java.Nio.Buffer -> unit

Parameters

program
Int32

The program object containing the active uniform block.

uniformBlockIndex
Int32

A valid active uniform-block index within program.

length
Buffer

A non-null writable Buffer (direct or accessible array-backed) with space for a 32-bit integer in native byte order at its current position; receives the name byte count excluding the terminating zero. JNI writes through a GLsizei pointer without checking the remaining capacity. The array-backed path adds its byte offset to a GLsizei pointer and releases that adjusted pointer. Use a direct buffer to avoid this release path.

uniformBlockName
Buffer

A non-null writable Buffer (direct or accessible array-backed). JNI treats its storage as bytes. Its remaining byte count limits the name, including the terminating zero; provide the queried name length to avoid truncation. 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

GlGetActiveUniformBlockName(Int32, Int32)

Gets the name of an active uniform block.

[Android.Runtime.Register("glGetActiveUniformBlockName", "(II)Ljava/lang/String;", "")]
public static string? GlGetActiveUniformBlockName(int program, int uniformBlockIndex);
[<Android.Runtime.Register("glGetActiveUniformBlockName", "(II)Ljava/lang/String;", "")>]
static member GlGetActiveUniformBlockName : int * int -> string

Parameters

program
Int32

The program object containing the active uniform block.

uniformBlockIndex
Int32

A valid active uniform-block index within program.

Returns

The name of the selected active uniform block.

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