public static void GetnSeparableFilterARB(SeparableTarget target, PixelFormat format, PixelType type, Int32 rowBufSize, IntPtr row, Int32 columnBufSize, IntPtr column, IntPtr span) { Debug.Assert(Delegates.pglGetnSeparableFilterARB != null, "pglGetnSeparableFilterARB not implemented"); Delegates.pglGetnSeparableFilterARB((Int32)target, (Int32)format, (Int32)type, rowBufSize, row, columnBufSize, column, span); LogCommand("glGetnSeparableFilterARB", null, target, format, type, rowBufSize, row, columnBufSize, column, span); DebugCheckErrors(null); }
public static void GetSeparableFilterEXT(SeparableTarget target, PixelFormat format, PixelType type, IntPtr row, IntPtr column, IntPtr span) { Debug.Assert(Delegates.pglGetSeparableFilterEXT != null, "pglGetSeparableFilterEXT not implemented"); Delegates.pglGetSeparableFilterEXT((int)target, (int)format, (int)type, row, column, span); LogCommand("glGetSeparableFilterEXT", null, target, format, type, row, column, span); DebugCheckErrors(null); }
public static void GetnSeparableFilterARB(SeparableTarget target, PixelFormat format, PixelType type, Int32 rowBufSize, Object row, Int32 columnBufSize, Object column, Object span) { GCHandle pin_row = GCHandle.Alloc(row, GCHandleType.Pinned); GCHandle pin_column = GCHandle.Alloc(column, GCHandleType.Pinned); GCHandle pin_span = GCHandle.Alloc(span, GCHandleType.Pinned); try { GetnSeparableFilterARB(target, format, type, rowBufSize, pin_row.AddrOfPinnedObject(), columnBufSize, pin_column.AddrOfPinnedObject(), pin_span.AddrOfPinnedObject()); } finally { pin_row.Free(); pin_column.Free(); pin_span.Free(); } }
public static void GetSeparableFilterEXT(SeparableTarget target, PixelFormat format, PixelType type, object row, object column, object span) { GCHandle pin_row = GCHandle.Alloc(row, GCHandleType.Pinned); GCHandle pin_column = GCHandle.Alloc(column, GCHandleType.Pinned); GCHandle pin_span = GCHandle.Alloc(span, GCHandleType.Pinned); try { GetSeparableFilterEXT(target, format, type, pin_row.AddrOfPinnedObject(), pin_column.AddrOfPinnedObject(), pin_span.AddrOfPinnedObject()); } finally { pin_row.Free(); pin_column.Free(); pin_span.Free(); } }