GL.ReadPixels 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ReadPixels(Int32, Int32, Int32, Int32, All, All, IntPtr)
警告
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
參數
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- All
- type
- All
- pixels
-
IntPtr
nativeint
- 屬性
適用於
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
參數
- 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="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)
類型參數
- 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="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)
類型參數
- 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="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)
類型參數
- 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="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)
類型參數
- T6
參數
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- PixelFormat
- type
- PixelType
- pixels
- T6[,]
- 屬性
適用於
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,])
警告
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)
類型參數
- T6
參數
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- All
- type
- All
- pixels
- T6[,]
- 屬性
適用於
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[,,])
警告
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)
類型參數
- T6
參數
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- All
- type
- All
- pixels
- T6[,,]
- 屬性
適用於
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6)
警告
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)
類型參數
- T6
參數
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- All
- type
- All
- pixels
- T6
- 屬性
適用於
ReadPixels<T6>(Int32, Int32, Int32, Int32, All, All, T6[])
警告
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)
類型參數
- T6
參數
- x
- Int32
- y
- Int32
- width
- Int32
- height
- Int32
- format
- All
- type
- All
- pixels
- T6[]
- 屬性