GL.ReadPixels Method

Definition

Overloads

ReadPixels(Int32, Int32, Int32, Int32, All, All, IntPtr)
Obsolete.
ReadPixels(Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[])
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[,,])
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6)
ReadPixels<T6>(Int32, Int32, Int32, Int32, PixelFormat, PixelType, T6[,])
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,])
Obsolete.
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,,])
Obsolete.
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6)
Obsolete.
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[])
Obsolete.

ReadPixels(Int32, Int32, Int32, Int32, All, All, IntPtr)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glReadPixels", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void ReadPixels (int x, int y, int width, int height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * nativeint -> unit

Parameters

x
Int32
y
Int32
width
Int32
height
Int32
format
All
type
All
pixels
IntPtr

nativeint

Attributes

Applies to

ReadPixels(Int32, Int32, Int32, Int32, PixelFormat, PixelType, IntPtr)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glReadPixels", Version="2.0")]
public static void ReadPixels (int x, int y, int width, int height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.PixelFormat * OpenTK.Graphics.ES20.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="2.0", EntryPoint="glReadPixels", Version="2.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, T6[] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.PixelFormat * OpenTK.Graphics.ES20.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="2.0", EntryPoint="glReadPixels", Version="2.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, T6[,,] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.PixelFormat * OpenTK.Graphics.ES20.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="2.0", EntryPoint="glReadPixels", Version="2.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, out T6 pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.PixelFormat * OpenTK.Graphics.ES20.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="2.0", EntryPoint="glReadPixels", Version="2.0")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, T6[,] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.PixelFormat * OpenTK.Graphics.ES20.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, All, All, T6[,])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glReadPixels", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, T6[,] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * 'T6[,] -> unit (requires 'T6 : struct)

Type Parameters

T6

Parameters

x
Int32
y
Int32
width
Int32
height
Int32
format
All
type
All
pixels
T6[,]
Attributes

Applies to

ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,,])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glReadPixels", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, T6[,,] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * 'T6[,,] -> unit (requires 'T6 : struct)

Type Parameters

T6

Parameters

x
Int32
y
Int32
width
Int32
height
Int32
format
All
type
All
pixels
T6[,,]
Attributes

Applies to

ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glReadPixels", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, out T6 pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All *  -> unit (requires 'T6 : struct)

Type Parameters

T6

Parameters

x
Int32
y
Int32
width
Int32
height
Int32
format
All
type
All
pixels
T6
Attributes

Applies to

ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[])

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glReadPixels", Version="2.0")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void ReadPixels<T6> (int x, int y, int width, int height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, T6[] pixels) where T6 : struct;
static member ReadPixels : int * int * int * int * OpenTK.Graphics.ES20.All * OpenTK.Graphics.ES20.All * 'T6[] -> unit (requires 'T6 : struct)

Type Parameters

T6

Parameters

x
Int32
y
Int32
width
Int32
height
Int32
format
All
type
All
pixels
T6[]
Attributes

Applies to