MonobjcMonobjc Documented Class Library
SetOffScreen Method (ctx, width, height, rowbytes, baseaddr)
NamespacesMonobjc.OpenGLCGLSetOffScreen(IntPtr, Int32, Int32, Int32, IntPtr)

Attaches a rendering context to an offscreen buffer.

Original signature is 'CGLError CGLSetOffScreen ( CGLContextObj ctx, GLsizei width, GLsizei height, GLint rowbytes, void *baseaddr );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGLError SetOffScreen(
	IntPtr ctx,
	int width,
	int height,
	int rowbytes,
	IntPtr baseaddr
)
Public Shared Function SetOffScreen ( _
	ctx As IntPtr, _
	width As Integer, _
	height As Integer, _
	rowbytes As Integer, _
	baseaddr As IntPtr _
) As CGLError
public:
static CGLError SetOffScreen(
	IntPtr ctx, 
	int width, 
	int height, 
	int rowbytes, 
	IntPtr baseaddr
)
Parameters
ctx (IntPtr)
MISSING
width (Int32)
MISSING
height (Int32)
MISSING
rowbytes (Int32)
MISSING
baseaddr (IntPtr)
MISSING
Return Value
A result code. See “CGL Result Codes.”
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)