Język

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 direct, native-order writable IntBuffer with one integer remaining; receives the name byte count excluding the terminating zero. Array-backed pointer adjustment and cleanup are unsafe.

uniformBlockName
Buffer

A non-null direct writable ByteBuffer. Its remaining byte count limits the name, including the terminating zero; provide the queried name length to avoid truncation. Array-backed cleanup is unsafe.

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