Skip to content

Instantly share code, notes, and snippets.

@saurabh360
Created December 24, 2013 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh360/9399003b2969166df3c2 to your computer and use it in GitHub Desktop.
Save saurabh360/9399003b2969166df3c2 to your computer and use it in GitHub Desktop.
//
// Constructors
//
[Export ("initWithCVImageBuffer:"), CompilerGenerated]
public CIImage (CVImageBuffer imageBuffer) : base (NSObjectFlag.Empty)
{
if (this.IsDirectBinding)
{
base.Handle = Messaging.IntPtr_objc_msgSend_IntPtr (base.Handle, Selector.GetHandle ("initWithCVImageBuffer:"), imageBuffer.Handle);
}
else
{
base.Handle = Messaging.IntPtr_objc_msgSendSuper_IntPtr (base.SuperHandle, Selector.GetHandle ("initWithCVImageBuffer:"), imageBuffer.Handle);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment