public static void GetnMinmaxARB(MinmaxTarget target, bool reset, PixelFormat format, PixelType type, Int32 bufSize, IntPtr values)
 {
     Debug.Assert(Delegates.pglGetnMinmaxARB != null, "pglGetnMinmaxARB not implemented");
     Delegates.pglGetnMinmaxARB((Int32)target, reset, (Int32)format, (Int32)type, bufSize, values);
     LogCommand("glGetnMinmaxARB", null, target, reset, format, type, bufSize, values);
     DebugCheckErrors(null);
 }
Exemple #2
0
 public static void Minmax(MinmaxTarget target, InternalFormat internalformat, bool sink)
 {
     Debug.Assert(Delegates.pglMinmax != null, "pglMinmax not implemented");
     Delegates.pglMinmax((Int32)target, (Int32)internalformat, sink);
     LogCommand("glMinmax", null, target, internalformat, sink);
     DebugCheckErrors(null);
 }
Exemple #3
0
 public static void GetMinmaxEXT(MinmaxTarget target, bool reset, PixelFormat format, PixelType type, IntPtr values)
 {
     Debug.Assert(Delegates.pglGetMinmaxEXT != null, "pglGetMinmaxEXT not implemented");
     Delegates.pglGetMinmaxEXT((int)target, reset, (int)format, (int)type, values);
     LogCommand("glGetMinmaxEXT", null, target, reset, format, type, values);
     DebugCheckErrors(null);
 }
        public static void GetnMinmaxARB(MinmaxTarget target, bool reset, PixelFormat format, PixelType type, Int32 bufSize, Object values)
        {
            GCHandle pin_values = GCHandle.Alloc(values, GCHandleType.Pinned);

            try {
                GetnMinmaxARB(target, reset, format, type, bufSize, pin_values.AddrOfPinnedObject());
            } finally {
                pin_values.Free();
            }
        }
Exemple #5
0
 public static void GetMinmaxParameterEXT(MinmaxTarget target, GetMinmaxParameterPNameEXT pname, [Out] Int32[] @params)
 {
     unsafe
     {
         fixed(Int32 *p_params = @params)
         {
             Debug.Assert(Delegates.pglGetMinmaxParameterivEXT != null, "pglGetMinmaxParameterivEXT not implemented");
             Delegates.pglGetMinmaxParameterivEXT((Int32)target, (Int32)pname, p_params);
             LogCommand("glGetMinmaxParameterivEXT", null, target, pname, @params);
         }
     }
     DebugCheckErrors(null);
 }