GLES32.GlReadnPixels 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 pixel rectangle with an explicit output byte limit.
[Android.Runtime.Register("glReadnPixels", "(IIIIIIILjava/nio/Buffer;)V", "", ApiSince=24)]
public static void GlReadnPixels(int x, int y, int width, int height, int format, int type, int bufSize, Java.Nio.Buffer? data);
[<Android.Runtime.Register("glReadnPixels", "(IIIIIIILjava/nio/Buffer;)V", "", ApiSince=24)>]
static member GlReadnPixels : int * int * int * int * int * int * int * Java.Nio.Buffer -> unit
Parameters
- x
- Int32
The window X coordinate of the lower-left source pixel.
- y
- Int32
The window Y coordinate of the lower-left source pixel.
- width
- Int32
The number of pixel columns to read.
- height
- Int32
The number of pixel rows to read.
- format
- Int32
The pixel-component format for the returned data.
- type
- Int32
The component or packed-pixel data type for the returned data.
- bufSize
- Int32
The non-negative output capacity in bytes, including space required by the current pixel-pack state.
- data
- Buffer
A non-null writable native-order buffer with at least bufSize bytes remaining from its current position. Use this buffer overload with no pixel-pack buffer object bound.
- 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.