MonobjcMonobjc Documented Class Library
CopyRenderedTextureForCGLContextPixelFormatBoundsIsFlipped Method (cgl_ctx, format, bounds, flipped)
NamespacesMonobjc.QuartzIQCPlugInOutputImageProviderCopyRenderedTextureForCGLContextPixelFormatBoundsIsFlipped(IntPtr, NSString, NSRect, Boolean%)

Returns the name of an OpenGL texture of type GL_TEXTURE_RECTANGLE_EXT that contains a subregion of the image in a given pixel format. (required)

Original signature is '- (GLuint) copyRenderedTextureForCGLContext:(CGLContextObj)cgl_ctx pixelFormat:(NSString*)format bounds:(NSRect)bounds isFlipped:(BOOL*)flipped'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
uint CopyRenderedTextureForCGLContextPixelFormatBoundsIsFlipped(
	IntPtr cgl_ctx,
	NSString format,
	NSRect bounds,
	out bool flipped
)
Function CopyRenderedTextureForCGLContextPixelFormatBoundsIsFlipped ( _
	cgl_ctx As IntPtr, _
	format As NSString, _
	bounds As NSRect, _
	<OutAttribute> ByRef flipped As Boolean _
) As UInteger
unsigned int CopyRenderedTextureForCGLContextPixelFormatBoundsIsFlipped(
	IntPtr cgl_ctx, 
	NSString^ format, 
	NSRect bounds, 
	[OutAttribute] bool% flipped
)
Parameters
cgl_ctx (IntPtr)
The CGL context to render to.
format (NSString)
A string that represents the pixel format of the texture.
bounds (NSRect)
The bounds of the subregion of the image.
flipped (Boolean%)
MISSING
Return Value
The name of an OpenGL texture of type GL_TEXTURE_RECTANGLE_EXT that contains a subregion of the image in a given pixel format or 0 if the texture can’t be provided.
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.Quartz (Module: Monobjc.Quartz)