GL.ReadPixels 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
ReadPixels(Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glReadPixels", Version="3.0")]
public static void ReadPixels (int x, int y, int width, int height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * nativeint -> unit
Parameters
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- PixelFormat
- type
- PixelType
- pixels
-
IntPtr
nativeint
- Attributes
Applies to
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6)
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glReadPixels", Version="3.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, out T6 pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * -> unit (requires 'T6 : struct)
Type Parameters
- T6
Parameters
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- PixelFormat
- type
- PixelType
- pixels
- T6
- Attributes
Applies to
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[,,])
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glReadPixels", Version="3.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, T6[,,] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * 'T6[,,] -> unit (requires 'T6 : struct)
Type Parameters
- T6
Parameters
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- PixelFormat
- type
- PixelType
- pixels
- T6[,,]
- Attributes
Applies to
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[,])
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glReadPixels", Version="3.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, T6[,] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * 'T6[,] -> unit (requires 'T6 : struct)
Type Parameters
- T6
Parameters
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- PixelFormat
- type
- PixelType
- pixels
- T6[,]
- Attributes
Applies to
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[])
[OpenTK.AutoGenerated(Category="3.0", EntryPoint="glReadPixels", Version="3.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, T6[] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES30.PixelFormat * OpenTK.Graphics.ES30.PixelType * 'T6[] -> unit (requires 'T6 : struct)
Type Parameters
- T6
Parameters
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- PixelFormat
- type
- PixelType
- pixels
- T6[]
- Attributes