Język

GLES30.GlProgramBinary(Int32, Int32, Buffer, Int32) Method

Definition

Loads a saved program binary as an implicit program link.

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

Parameters

program
Int32

The program object into which the saved binary is loaded.

binaryFormat
Int32

The compatible implementation-specific format token saved with the binary.

binary
Buffer

A non-null input buffer with at least length binary bytes from its current position. The wrapper does not check capacity.

length
Int32

The non-negative binary byte count. Check GL_LINK_STATUS after loading; the binary can be rejected.

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