Język

GLES30.GlGetProgramBinary Method

Definition

Overloads

Name Description
GlGetProgramBinary(Int32, Int32, IntBuffer, IntBuffer, Buffer)

Retrieves a linked program's implementation-specific binary representation.

GlGetProgramBinary(Int32, Int32, Int32[], Int32, Int32[], Int32, Buffer)

Retrieves a linked program's implementation-specific binary representation.

GlGetProgramBinary(Int32, Int32, IntBuffer, IntBuffer, Buffer)

Retrieves a linked program's implementation-specific binary representation.

[Android.Runtime.Register("glGetProgramBinary", "(IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/Buffer;)V", "")]
public static void GlGetProgramBinary(int program, int bufSize, Java.Nio.IntBuffer? length, Java.Nio.IntBuffer? binaryFormat, Java.Nio.Buffer? binary);
[<Android.Runtime.Register("glGetProgramBinary", "(IILjava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/Buffer;)V", "")>]
static member GlGetProgramBinary : int * int * Java.Nio.IntBuffer * Java.Nio.IntBuffer * Java.Nio.Buffer -> unit

Parameters

program
Int32

The successfully linked program whose binary representation is requested.

bufSize
Int32

The maximum output size in bytes; it must fit the complete program binary.

length
IntBuffer

An optional direct, native-order writable buffer with one integer remaining; receives the binary byte count. Array-backed cleanup is unsafe.

binaryFormat
IntBuffer

A non-null direct, native-order writable buffer with one integer remaining for the binary format token. Capacity is not checked; array-backed cleanup is unsafe.

binary
Buffer

A non-null writable output buffer with at least bufSize bytes from its current position. Capacity is not checked. Save the returned format and byte count with the binary.

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

GlGetProgramBinary(Int32, Int32, Int32[], Int32, Int32[], Int32, Buffer)

Retrieves a linked program's implementation-specific binary representation.

[Android.Runtime.Register("glGetProgramBinary", "(II[II[IILjava/nio/Buffer;)V", "")]
public static void GlGetProgramBinary(int program, int bufSize, int[]? length, int lengthOffset, int[]? binaryFormat, int binaryFormatOffset, Java.Nio.Buffer? binary);
[<Android.Runtime.Register("glGetProgramBinary", "(II[II[IILjava/nio/Buffer;)V", "")>]
static member GlGetProgramBinary : int * int * int[] * int * int[] * int * Java.Nio.Buffer -> unit

Parameters

program
Int32

The successfully linked program whose binary representation is requested.

bufSize
Int32

The maximum output size in bytes; it must fit the complete program binary.

length
Int32[]

An optional output array with room for one integer after lengthOffset; receives the number of binary bytes written.

lengthOffset
Int32

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

binaryFormat
Int32[]

A non-null output array with room for one integer after binaryFormatOffset; receives the implementation-specific binary format token.

binaryFormatOffset
Int32

The non-negative starting format-array index, measured in integer elements.

binary
Buffer

A non-null writable output buffer with at least bufSize bytes from its current position. Capacity is not checked. Save the returned format and byte count with the binary.

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