MonobjcMonobjc Documented Class Library
SetOffScreenWidthHeightRowbytes Method (baseaddr, width, height, rowbytes)
NamespacesMonobjc.AppKitNSOpenGLContextSetOffScreenWidthHeightRowbytes(IntPtr, Int32, Int32, Int32)

Instructs the receiver to render into an offscreen buffer with the specified attributes.

Original signature is '- (void)setOffScreen:(void *)baseaddr width:(GLsizei)width height:(GLsizei)height rowbytes:(GLint)rowbytes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetOffScreenWidthHeightRowbytes(
	IntPtr baseaddr,
	int width,
	int height,
	int rowbytes
)
Public Overridable Sub SetOffScreenWidthHeightRowbytes ( _
	baseaddr As IntPtr, _
	width As Integer, _
	height As Integer, _
	rowbytes As Integer _
)
public:
virtual void SetOffScreenWidthHeightRowbytes(
	IntPtr baseaddr, 
	int width, 
	int height, 
	int rowbytes
)
Parameters
baseaddr (IntPtr)
The base address of the buffer in memory. This buffer must contain at least rowbytes*height bytes.
width (Int32)
The width of the memory buffer, measured in pixels.
height (Int32)
The height of the memory buffer, measured in pixels.
rowbytes (Int32)
The number of bytes in a single row of the buffer. This value must be greater than or equal to the value in width times the number of bytes per pixel.
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.AppKit (Module: Monobjc.AppKit)