共用方式為


GL.ReadPixels 方法

定義

多載

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(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

參數

x
Int32
y
Int32
width
Int32
height
Int32
format
PixelFormat
type
PixelType
pixels
IntPtr

nativeint

屬性

適用於

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)

類型參數

T6

參數

x
Int32
y
Int32
width
Int32
height
Int32
format
PixelFormat
type
PixelType
pixels
T6
屬性

適用於

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)

類型參數

T6

參數

x
Int32
y
Int32
width
Int32
height
Int32
format
PixelFormat
type
PixelType
pixels
T6[,,]
屬性

適用於

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)

類型參數

T6

參數

x
Int32
y
Int32
width
Int32
height
Int32
format
PixelFormat
type
PixelType
pixels
T6[,]
屬性

適用於

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)

類型參數

T6

參數

x
Int32
y
Int32
width
Int32
height
Int32
format
PixelFormat
type
PixelType
pixels
T6[]
屬性

適用於