GLES30.GlInvalidateFramebuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GlInvalidateFramebuffer(Int32, Int32, IntBuffer) |
Allows GL to discard the contents of selected framebuffer attachments. |
| GlInvalidateFramebuffer(Int32, Int32, Int32[], Int32) |
Allows GL to discard the contents of selected framebuffer attachments. |
GlInvalidateFramebuffer(Int32, Int32, IntBuffer)
Allows GL to discard the contents of selected framebuffer attachments.
[Android.Runtime.Register("glInvalidateFramebuffer", "(IILjava/nio/IntBuffer;)V", "")]
public static void GlInvalidateFramebuffer(int target, int numAttachments, Java.Nio.IntBuffer? attachments);
[<Android.Runtime.Register("glInvalidateFramebuffer", "(IILjava/nio/IntBuffer;)V", "")>]
static member GlInvalidateFramebuffer : int * int * Java.Nio.IntBuffer -> 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.
- 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
GlInvalidateFramebuffer(Int32, Int32, Int32[], Int32)
Allows GL to discard the contents of selected framebuffer attachments.
[Android.Runtime.Register("glInvalidateFramebuffer", "(II[II)V", "")]
public static void GlInvalidateFramebuffer(int target, int numAttachments, int[]? attachments, int offset);
[<Android.Runtime.Register("glInvalidateFramebuffer", "(II[II)V", "")>]
static member GlInvalidateFramebuffer : 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.
- 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.