MonobjcMonobjc Documented Class Library
glTexImage2D Method (target, level, internalformat, width, height, border, format, type, pixels)
NamespacesMonobjc.OpenGLGLglTexImage2D(UInt32, Int32, UInt32, Int32, Int32, Int32, UInt32, UInt32, IntPtr)

Original signature is 'extern void glTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);'

Declaration Syntax
C#Visual BasicVisual C++
public static void glTexImage2D(
	uint target,
	int level,
	uint internalformat,
	int width,
	int height,
	int border,
	uint format,
	uint type,
	IntPtr pixels
)
Public Shared Sub glTexImage2D ( _
	target As UInteger, _
	level As Integer, _
	internalformat As UInteger, _
	width As Integer, _
	height As Integer, _
	border As Integer, _
	format As UInteger, _
	type As UInteger, _
	pixels As IntPtr _
)
public:
static void glTexImage2D(
	unsigned int target, 
	int level, 
	unsigned int internalformat, 
	int width, 
	int height, 
	int border, 
	unsigned int format, 
	unsigned int type, 
	IntPtr pixels
)
Parameters
target (UInt32)

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

level (Int32)

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

internalformat (UInt32)

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

width (Int32)

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

height (Int32)

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

border (Int32)

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

format (UInt32)

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

type (UInt32)

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

pixels (IntPtr)

[Missing <param name="pixels"/> documentation for "M:Monobjc.OpenGL.GL.glTexImage2D(System.UInt32,System.Int32,System.UInt32,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)