Język

GLES30.GlClearBufferiv Method

Definition

Overloads

Name Description
GlClearBufferiv(Int32, Int32, IntBuffer)

Clears a signed integer color buffer or the stencil buffer.

GlClearBufferiv(Int32, Int32, Int32[], Int32)

Clears a signed integer color buffer or the stencil buffer.

GlClearBufferiv(Int32, Int32, IntBuffer)

Clears a signed integer color buffer or the stencil buffer.

[Android.Runtime.Register("glClearBufferiv", "(IILjava/nio/IntBuffer;)V", "")]
public static void GlClearBufferiv(int buffer, int drawbuffer, Java.Nio.IntBuffer? value);
[<Android.Runtime.Register("glClearBufferiv", "(IILjava/nio/IntBuffer;)V", "")>]
static member GlClearBufferiv : int * int * Java.Nio.IntBuffer -> unit

Parameters

buffer
Int32

GL_COLOR or GL_STENCIL.

drawbuffer
Int32

The color draw-buffer index, or zero when clearing stencil.

value
IntBuffer

A non-null direct, native-order input buffer, starting at its current position, with room for four color components or one stencil value. Capacity is not checked; 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

GlClearBufferiv(Int32, Int32, Int32[], Int32)

Clears a signed integer color buffer or the stencil buffer.

[Android.Runtime.Register("glClearBufferiv", "(II[II)V", "")]
public static void GlClearBufferiv(int buffer, int drawbuffer, int[]? value, int offset);
[<Android.Runtime.Register("glClearBufferiv", "(II[II)V", "")>]
static member GlClearBufferiv : int * int * int[] * int -> unit

Parameters

buffer
Int32

GL_COLOR or GL_STENCIL.

drawbuffer
Int32

The color draw-buffer index, or zero when clearing stencil.

value
Int32[]

A non-null input array, starting at offset, with room for four color components or one stencil value. The wrapper does not check capacity.

offset
Int32

The non-negative starting array index, measured in elements rather than 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