Język

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

Definition

Replaces a byte range of a bound buffer object'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.

offset
Int32

The non-negative destination byte offset within the bound buffer's data store.

size
Int32

The non-negative data size in bytes.

data
Buffer

A non-null input buffer with at least size bytes from its current position.

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