public new virtual void AddTarget(GPUImageInput newTarget, global::System.nint textureLocation)
 {
     if (newTarget == null)
     {
         throw new ArgumentNullException("newTarget");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nint(this.Handle, Selector.GetHandle("addTarget:atTextureLocation:"), newTarget.Handle, textureLocation);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr_nint(this.SuperHandle, Selector.GetHandle("addTarget:atTextureLocation:"), newTarget.Handle, textureLocation);
     }
 }
 public new virtual void RemoveTarget(GPUImageInput targetToRemove)
 {
     if (targetToRemove == null)
     {
         throw new ArgumentNullException("targetToRemove");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("removeTarget:"), targetToRemove.Handle);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("removeTarget:"), targetToRemove.Handle);
     }
 }
 public new virtual void SetInputFramebufferForTarget(GPUImageInput target, global::System.nint inputTextureIndex)
 {
     if (target == null)
     {
         throw new ArgumentNullException("target");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_nint(this.Handle, Selector.GetHandle("setInputFramebufferForTarget:atIndex:"), target.Handle, inputTextureIndex);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr_nint(this.SuperHandle, Selector.GetHandle("setInputFramebufferForTarget:atIndex:"), target.Handle, inputTextureIndex);
     }
 }
Ejemplo n.º 4
0
 public virtual void AddTarget(GPUImageInput newTarget)
 {
     if (newTarget == null)
     {
         throw new ArgumentNullException("newTarget");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("addTarget:"), newTarget.Handle);
     }
     else
     {
         global::ApiDefinition.Messaging.void_objc_msgSendSuper_IntPtr(this.SuperHandle, Selector.GetHandle("addTarget:"), newTarget.Handle);
     }
 }