MonobjcMonobjc Documented Class Library
CIImage Constructor (name, size, flag, cs)
NamespacesMonobjc.QuartzCoreCIImageCIImage(UInt32, CGSize, Boolean, IntPtr)

Initializes an image object with data supplied by an OpenGL texture.

Original signature is '- (id)initWithTexture:(unsigned int)name size:(CGSize)size flipped:(BOOL)flag colorSpace:(CGColorSpaceRef)cs'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public CIImage(
	uint name,
	CGSize size,
	bool flag,
	IntPtr cs
)
Public Sub New ( _
	name As UInteger, _
	size As CGSize, _
	flag As Boolean, _
	cs As IntPtr _
)
public:
CIImage(
	unsigned int name, 
	CGSize size, 
	bool flag, 
	IntPtr cs
)
Parameters
name (UInt32)
An OpenGL texture. Because CIImage objects are immutable, the texture must remain unchanged for the life of the image object. See the discussion for more information.
size (CGSize)
The dimensions of the texture.
flag (Boolean)
YES to have Core Image flip the contents of the texture vertically.
cs (IntPtr)
The color space that the image is defined in. This must be a Quartz color space (CGColorSpaceRef). If the colorSpace value is nil, the image is not color matched. Pass nil for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables).
Return Value
The initialized image object or nil if the object could not be initialized.
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)