GLES30.GlReadPixels(Int32, Int32, Int32, Int32, Int32, Int32, Int32) 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.
Reads a framebuffer rectangle into a bound pixel-pack buffer.
[Android.Runtime.Register("glReadPixels", "(IIIIIII)V", "", ApiSince=24)]
public static void GlReadPixels(int x, int y, int width, int height, int format, int type, int offset);
[<Android.Runtime.Register("glReadPixels", "(IIIIIII)V", "", ApiSince=24)>]
static member GlReadPixels : int * int * int * int * int * int * int -> unit
Parameters
- x
- Int32
The source rectangle's lower-left window X coordinate.
- y
- Int32
The source rectangle's lower-left window Y coordinate.
- width
- Int32
The non-negative rectangle width in pixels.
- height
- Int32
The non-negative rectangle height in pixels.
- format
- Int32
The supported destination pixel-component format.
- type
- Int32
The supported destination scalar or packed pixel-data type.
- offset
- Int32
The non-negative destination byte offset in the bound pixel-pack buffer, with enough storage for the current pixel-pack layout.
- 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.