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[]
- 属性