Example #1
0
 public static void GetnConvolutionFilterARB(ConvolutionTarget target, PixelFormat format, PixelType type, Int32 bufSize, IntPtr image)
 {
     Debug.Assert(Delegates.pglGetnConvolutionFilterARB != null, "pglGetnConvolutionFilterARB not implemented");
     Delegates.pglGetnConvolutionFilterARB((Int32)target, (Int32)format, (Int32)type, bufSize, image);
     LogCommand("glGetnConvolutionFilterARB", null, target, format, type, bufSize, image);
     DebugCheckErrors(null);
 }
Example #2
0
 public static void GetConvolutionFilterEXT(ConvolutionTarget target, PixelFormat format, PixelType type, IntPtr image)
 {
     Debug.Assert(Delegates.pglGetConvolutionFilterEXT != null, "pglGetConvolutionFilterEXT not implemented");
     Delegates.pglGetConvolutionFilterEXT((int)target, (int)format, (int)type, image);
     LogCommand("glGetConvolutionFilterEXT", null, target, format, type, image);
     DebugCheckErrors(null);
 }
        public static void GetnConvolutionFilterARB(ConvolutionTarget target, PixelFormat format, PixelType type, Int32 bufSize, Object image)
        {
            GCHandle pin_image = GCHandle.Alloc(image, GCHandleType.Pinned);

            try {
                GetnConvolutionFilterARB(target, format, type, bufSize, pin_image.AddrOfPinnedObject());
            } finally {
                pin_image.Free();
            }
        }
Example #4
0
 public static void GetConvolutionParameterEXT(ConvolutionTarget target, ConvolutionParameterEXT pname, [Out] Int32[] @params)
 {
     unsafe
     {
         fixed(Int32 *p_params = @params)
         {
             Debug.Assert(Delegates.pglGetConvolutionParameterivEXT != null, "pglGetConvolutionParameterivEXT not implemented");
             Delegates.pglGetConvolutionParameterivEXT((Int32)target, (Int32)pname, p_params);
             LogCommand("glGetConvolutionParameterivEXT", null, target, pname, @params);
         }
     }
     DebugCheckErrors(null);
 }
Example #5
0
 public abstract void GetConvolutionParameter([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] ConvolutionParameterEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
Example #6
0
 public abstract void GetConvolutionFilter <T0>([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] out T0 image) where T0 : unmanaged;
Example #7
0
 public abstract unsafe void GetConvolutionFilter([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] void *image);
Example #8
0
 public abstract void CopyConvolutionFilter2D([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] int x, [Flow(FlowDirection.In)] int y, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height);
Example #9
0
 public abstract unsafe void ConvolutionParameter([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] ConvolutionParameterEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] int * @params);
Example #10
0
 public abstract void ConvolutionParameter([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] ConvolutionParameterEXT pname, [Flow(FlowDirection.In)] int @params);
Example #11
0
 public abstract void ConvolutionFilter2D <T0>([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width, height"), Flow(FlowDirection.In)] ref T0 image) where T0 : unmanaged;
Example #12
0
 public abstract unsafe void ConvolutionFilter2D([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] uint width, [Flow(FlowDirection.In)] uint height, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "format, type, width, height"), Flow(FlowDirection.In)] void *image);
Example #13
0
 public abstract void GetnConvolutionFilter <T0>([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] Span <T0> image) where T0 : unmanaged;
Example #14
0
 public abstract unsafe void GetnConvolutionFilter([Flow(FlowDirection.In)] ConvolutionTarget target, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] void *image);