Returns an NSOpenGLPixelBuffer object initialized with the specified parameters.
Original signature is '- (id)initWithTextureTarget:(GLenum)target textureInternalFormat:(GLenum)format textureMaxMipMapLevel:(GLint)maxLevel pixelsWide:(GLsizei)pixelsWide pixelsHigh:(GLsizei)pixelsHigh'
Available in Mac OS X v10.3 and later.

C# | Visual Basic | Visual C++ |
public virtual Id InitWithTextureTargetTextureInternalFormatTextureMaxMipMapLevelPixelsWidePixelsHigh( int target, int format, int maxLevel, int pixelsWide, int pixelsHigh )

- target (Int32)
- The texture object. This value should be one of the following: GL_TEXTURE_2D,GL_TEXTURE_CUBE_MAP, or GL_TEXTURE_RECTANGLE_EXT.
- format (Int32)
- The base internal format of the texture. This value should be GL_RGB, GL_RGBA, or GL_DEPTH_COMPONENT.
- maxLevel (Int32)
- The desired maximum mipmap level of the structure, starting with zero.
- pixelsWide (Int32)
- The width of the texture (in pixels) in the pixel buffer.
- pixelsHigh (Int32)
- The height of the texture (in pixels) in the pixel buffer.

An initialized NSOpenGLPixelBuffer object or nil if the initialization failed. Initialization can fail if there is inconsistency among the parameter values. See the OpenGL documentation for glTexImage2D for more 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)