public static void GetMinmaxEXT(MinmaxTargetEXT target, bool reset, PixelFormat format, PixelType type, IntPtr values)
 {
     Debug.Assert(Delegates.pglGetMinmaxEXT != null, "pglGetMinmaxEXT not implemented");
     Delegates.pglGetMinmaxEXT((Int32)target, reset, (Int32)format, (Int32)type, values);
     LogFunction("glGetMinmaxEXT({0}, {1}, {2}, {3}, 0x{4})", target, reset, format, type, values.ToString("X8"));
     DebugCheckErrors(null);
 }
        public static void GetMinmaxEXT(MinmaxTargetEXT target, bool reset, PixelFormat format, PixelType type, Object values)
        {
            GCHandle pin_values = GCHandle.Alloc(values, GCHandleType.Pinned);

            try {
                GetMinmaxEXT(target, reset, format, type, pin_values.AddrOfPinnedObject());
            } finally {
                pin_values.Free();
            }
        }
 public static void GetMinmaxParameterEXT(MinmaxTargetEXT 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);
             LogFunction("glGetMinmaxParameterivEXT({0}, {1}, {2})", target, pname, LogValue(@params));
         }
     }
     DebugCheckErrors(null);
 }
Example #4
0
		public static void GetMinmaxEXT(MinmaxTargetEXT target, bool reset, PixelFormat format, PixelType type, IntPtr values)
		{
			Debug.Assert(Delegates.pglGetMinmaxEXT != null, "pglGetMinmaxEXT not implemented");
			Delegates.pglGetMinmaxEXT((Int32)target, reset, (Int32)format, (Int32)type, values);
			CallLog("glGetMinmaxEXT({0}, {1}, {2}, {3}, 0x{4})", target, reset, format, type, values.ToString("X8"));
			DebugCheckErrors();
		}
Example #5
0
 public partial void Minmax([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] Boolean sink);
Example #6
0
 public static unsafe void GetMinmax <T0>(this ExtHistogram thisApi, [Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] bool reset, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] Span <T0> values) where T0 : unmanaged
 {
     // SpanOverloader
     thisApi.GetMinmax(target, reset, format, type, out values.GetPinnableReference());
 }
Example #7
0
 public partial void Minmax([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] bool sink);
Example #8
0
 public unsafe partial void GetMinmaxParameter([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] EXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int * @params);
Example #9
0
 public unsafe partial void GetMinmax([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] bool reset, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] void *values);
 public static void ResetMinmaxEXT( MinmaxTargetEXT target )
 {
     if (_ResetMinmaxEXT == null) throw new Exception( "Extension method ResetMinmaxEXT not found" );
      _ResetMinmaxEXT( target );
 }
 public static void MinmaxEXT( MinmaxTargetEXT target, PixelInternalFormat internalformat, bool sink )
 {
     if (_MinmaxEXT == null) throw new Exception( "Extension method MinmaxEXT not found" );
      _MinmaxEXT( target, internalformat, sink );
 }
Example #12
0
 public abstract void GetnMinmax <T0>([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] bool reset, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] Span <T0> values) where T0 : unmanaged;
Example #13
0
 public abstract unsafe void GetnMinmax([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] bool reset, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Flow(FlowDirection.In)] uint bufSize, [Count(Parameter = "bufSize"), Flow(FlowDirection.Out)] void *values);
		public static void GetMinmaxParameterEXT(MinmaxTargetEXT target, GetMinmaxParameterPNameEXT pname, [Out] float[] @params)
		{
			unsafe {
				fixed (float* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetMinmaxParameterfvEXT != null, "pglGetMinmaxParameterfvEXT not implemented");
					Delegates.pglGetMinmaxParameterfvEXT((Int32)target, (Int32)pname, p_params);
					LogFunction("glGetMinmaxParameterfvEXT({0}, {1}, {2})", target, pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}
Example #15
0
		public static void GetMinmaxEXT(MinmaxTargetEXT target, bool reset, PixelFormat format, PixelType type, Object values)
		{
			GCHandle pin_values = GCHandle.Alloc(values, GCHandleType.Pinned);
			try {
				GetMinmaxEXT(target, reset, format, type, pin_values.AddrOfPinnedObject());
			} finally {
				pin_values.Free();
			}
		}
Example #16
0
		public static void GetMinmaxParameterEXT(MinmaxTargetEXT 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);
					CallLog("glGetMinmaxParameterivEXT({0}, {1}, {2})", target, pname, @params);
				}
			}
			DebugCheckErrors();
		}
 public static unsafe void GetMinmaxEXT( MinmaxTargetEXT target, bool reset, PixelFormat format, PixelType type, [Out]void* values )
 {
     if (_GetMinmaxEXT == null) throw new Exception( "Extension method GetMinmaxEXT not found" );
      _GetMinmaxEXT( target, reset, format, type, values );
 }
Example #18
0
 public partial void GetMinmax <T0>([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] bool reset, [Flow(FlowDirection.In)] PixelFormat format, [Flow(FlowDirection.In)] PixelType type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] out T0 values) where T0 : unmanaged;
 public static void GetMinmaxParameterivEXT( MinmaxTargetEXT target, GetMinmaxParameterPNameEXT pname, [Out]int[] @params )
 {
     if (_GetMinmaxParameterivEXT == null) throw new Exception( "Extension method GetMinmaxParameterivEXT not found" );
      _GetMinmaxParameterivEXT( target, pname, @params );
 }
Example #20
0
 public partial void GetMinmaxParameter([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] GetMinmaxParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
Example #21
0
 public abstract unsafe void GetMinmaxParameter([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] GetMinmaxParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int * @params);
Example #22
0
 public partial void ResetMinmax([Flow(FlowDirection.In)] MinmaxTargetEXT target);
Example #23
0
 public abstract void ResetMinmax([Flow(FlowDirection.In)] MinmaxTargetEXT target);
Example #24
0
 public static unsafe void GetMinmaxParameter(this ExtHistogram thisApi, [Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] GetMinmaxParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetMinmaxParameter(target, pname, out @params.GetPinnableReference());
 }
Example #25
0
 public unsafe partial void GetMinmax([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] Boolean reset, [Flow(FlowDirection.In)] EXT format, [Flow(FlowDirection.In)] EXT type, [Count(Computed = "target, format, type"), Flow(FlowDirection.Out)] void *values);