MonobjcMonobjc Documented Class Library
glReadPixels Method (x, y, width, height, format, type, pixels)
NamespacesMonobjc.OpenGLGLglReadPixels(Int32, Int32, Int32, Int32, UInt32, UInt32, IntPtr)

Original signature is 'extern void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);'

Declaration Syntax
C#Visual BasicVisual C++
public static void glReadPixels(
	int x,
	int y,
	int width,
	int height,
	uint format,
	uint type,
	IntPtr pixels
)
Public Shared Sub glReadPixels ( _
	x As Integer, _
	y As Integer, _
	width As Integer, _
	height As Integer, _
	format As UInteger, _
	type As UInteger, _
	pixels As IntPtr _
)
public:
static void glReadPixels(
	int x, 
	int y, 
	int width, 
	int height, 
	unsigned int format, 
	unsigned int type, 
	IntPtr pixels
)
Parameters
x (Int32)

[Missing <param name="x"/> documentation for "M:Monobjc.OpenGL.GL.glReadPixels(System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.IntPtr)"]

y (Int32)

[Missing <param name="y"/> documentation for "M:Monobjc.OpenGL.GL.glReadPixels(System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.IntPtr)"]

width (Int32)

[Missing <param name="width"/> documentation for "M:Monobjc.OpenGL.GL.glReadPixels(System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.IntPtr)"]

height (Int32)

[Missing <param name="height"/> documentation for "M:Monobjc.OpenGL.GL.glReadPixels(System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.IntPtr)"]

format (UInt32)

[Missing <param name="format"/> documentation for "M:Monobjc.OpenGL.GL.glReadPixels(System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.IntPtr)"]

type (UInt32)

[Missing <param name="type"/> documentation for "M:Monobjc.OpenGL.GL.glReadPixels(System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.IntPtr)"]

pixels (IntPtr)

[Missing <param name="pixels"/> documentation for "M:Monobjc.OpenGL.GL.glReadPixels(System.Int32,System.Int32,System.Int32,System.Int32,System.UInt32,System.UInt32,System.IntPtr)"]

Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.OpenGL (Module: Monobjc.OpenGL)