Język

GLES30.GlClearBufferfv Method

Definition

Overloads

Name Description
GlClearBufferfv(Int32, Int32, FloatBuffer)

Clears a floating-point or fixed-point color buffer, or the depth buffer.

GlClearBufferfv(Int32, Int32, Single[], Int32)

Clears a floating-point or fixed-point color buffer, or the depth buffer.

GlClearBufferfv(Int32, Int32, FloatBuffer)

Clears a floating-point or fixed-point color buffer, or the depth buffer.

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

Parameters

buffer
Int32

GL_COLOR or GL_DEPTH.

drawbuffer
Int32

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

value
FloatBuffer

A non-null direct, native-order input buffer, starting at its current position, with room for four color components or one depth 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

GlClearBufferfv(Int32, Int32, Single[], Int32)

Clears a floating-point or fixed-point color buffer, or the depth buffer.

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

Parameters

buffer
Int32

GL_COLOR or GL_DEPTH.

drawbuffer
Int32

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

value
Single[]

A non-null input array, starting at offset, with room for four color components or one depth 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