Język

GLES20.GlBufferSubData(Int32, Int32, Int32, Buffer) Method

Definition

Copies client bytes into an existing bound buffer's data store.

[Android.Runtime.Register("glBufferSubData", "(IIILjava/nio/Buffer;)V", "")]
public static void GlBufferSubData(int target, int offset, int size, Java.Nio.Buffer? data);
[<Android.Runtime.Register("glBufferSubData", "(IIILjava/nio/Buffer;)V", "")>]
static member GlBufferSubData : int * int * int * Java.Nio.Buffer -> unit

Parameters

target
Int32

GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER, with a nonzero buffer bound.

offset
Int32

The nonnegative destination byte offset.

size
Int32

The nonnegative number of bytes to copy; offset plus size must fit the existing store.

data
Buffer

A non-null direct or accessible array-backed input buffer at its current position with size bytes available. JNI checks remaining 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