Język

GLES30.GlInvalidateSubFramebuffer Method

Definition

Overloads

Name Description
GlInvalidateSubFramebuffer(Int32, Int32, IntBuffer, Int32, Int32, Int32, Int32)

Allows GL to discard a rectangular region of selected framebuffer attachments.

GlInvalidateSubFramebuffer(Int32, Int32, Int32[], Int32, Int32, Int32, Int32, Int32)

Allows GL to discard a rectangular region of selected framebuffer attachments.

GlInvalidateSubFramebuffer(Int32, Int32, IntBuffer, Int32, Int32, Int32, Int32)

Allows GL to discard a rectangular region of selected framebuffer attachments.

[Android.Runtime.Register("glInvalidateSubFramebuffer", "(IILjava/nio/IntBuffer;IIII)V", "")]
public static void GlInvalidateSubFramebuffer(int target, int numAttachments, Java.Nio.IntBuffer? attachments, int x, int y, int width, int height);
[<Android.Runtime.Register("glInvalidateSubFramebuffer", "(IILjava/nio/IntBuffer;IIII)V", "")>]
static member GlInvalidateSubFramebuffer : int * int * Java.Nio.IntBuffer * int * int * int * int -> unit

Parameters

target
Int32

The read or draw framebuffer target; GL_FRAMEBUFFER selects the draw framebuffer.

numAttachments
Int32

The non-negative number of attachment tokens to read.

attachments
IntBuffer

A non-null direct, native-order input buffer, starting at its current position, with room for numAttachments attachment tokens. Capacity is not checked; array-backed cleanup is unsafe. Use attachment-point tokens for framebuffer objects, or GL_COLOR, GL_DEPTH, and GL_STENCIL for the default framebuffer.

x
Int32

The rectangle's lower-left X coordinate in pixels.

y
Int32

The rectangle's lower-left Y coordinate in pixels.

width
Int32

The non-negative rectangle width in pixels.

height
Int32

The non-negative rectangle height in pixels.

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

GlInvalidateSubFramebuffer(Int32, Int32, Int32[], Int32, Int32, Int32, Int32, Int32)

Allows GL to discard a rectangular region of selected framebuffer attachments.

[Android.Runtime.Register("glInvalidateSubFramebuffer", "(II[IIIIII)V", "")]
public static void GlInvalidateSubFramebuffer(int target, int numAttachments, int[]? attachments, int offset, int x, int y, int width, int height);
[<Android.Runtime.Register("glInvalidateSubFramebuffer", "(II[IIIIII)V", "")>]
static member GlInvalidateSubFramebuffer : int * int * int[] * int * int * int * int * int -> unit

Parameters

target
Int32

The read or draw framebuffer target; GL_FRAMEBUFFER selects the draw framebuffer.

numAttachments
Int32

The non-negative number of attachment tokens to read.

attachments
Int32[]

A non-null input array, starting at offset, with room for numAttachments attachment tokens. The wrapper does not check capacity. Use attachment-point tokens for framebuffer objects, or GL_COLOR, GL_DEPTH, and GL_STENCIL for the default framebuffer.

offset
Int32

The non-negative starting array index, measured in elements rather than bytes.

x
Int32

The rectangle's lower-left X coordinate in pixels.

y
Int32

The rectangle's lower-left Y coordinate in pixels.

width
Int32

The non-negative rectangle width in pixels.

height
Int32

The non-negative rectangle height in pixels.

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