Ejemplo n.º 1
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);
     LogFunction("glGetMinmaxEXT({0}, {1}, {2}, {3}, 0x{4})", target, reset, format, type, values.ToString("X8"));
     DebugCheckErrors(null);
 }
Ejemplo n.º 2
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();
            }
        }
Ejemplo n.º 3
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);
             LogFunction("glGetMinmaxParameterivEXT({0}, {1}, {2})", target, pname, LogValue(@params));
         }
     }
     DebugCheckErrors(null);
 }
Ejemplo n.º 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();
		}
Ejemplo n.º 5
0
 public partial void Minmax([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] EXT internalformat, [Flow(FlowDirection.In)] Boolean sink);
Ejemplo n.º 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());
 }
Ejemplo n.º 7
0
 public partial void Minmax([Flow(FlowDirection.In)] MinmaxTargetEXT target, [Flow(FlowDirection.In)] InternalFormat internalformat, [Flow(FlowDirection.In)] bool sink);
Ejemplo n.º 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);
Ejemplo n.º 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 );
 }
Ejemplo n.º 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;
Ejemplo n.º 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);
Ejemplo n.º 14
0
		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);
		}
Ejemplo n.º 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();
			}
		}
Ejemplo n.º 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 );
 }
Ejemplo n.º 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 );
 }
Ejemplo n.º 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);
Ejemplo n.º 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);
Ejemplo n.º 22
0
 public partial void ResetMinmax([Flow(FlowDirection.In)] MinmaxTargetEXT target);
Ejemplo n.º 23
0
 public abstract void ResetMinmax([Flow(FlowDirection.In)] MinmaxTargetEXT target);
Ejemplo n.º 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());
 }
Ejemplo n.º 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);