Пример #1
0
 public static void GetHistogramParameterEXT(HistogramTargetEXT target, GetHistogramParameterPNameEXT pname, [Out] float[] @params)
 {
     unsafe
     {
         fixed(float *p_params = @params)
         {
             Debug.Assert(Delegates.pglGetHistogramParameterfvEXT != null, "pglGetHistogramParameterfvEXT not implemented");
             Delegates.pglGetHistogramParameterfvEXT((Int32)target, (Int32)pname, p_params);
             LogCommand("glGetHistogramParameterfvEXT", null, target, pname, @params);
         }
     }
     DebugCheckErrors(null);
 }
Пример #2
0
 public static void GetHistogramParameterEXT(HistogramTargetEXT target, GetHistogramParameterPNameEXT pname, [Out] Int32[] @params)
 {
     unsafe
     {
         fixed(Int32 *p_params = @params)
         {
             Debug.Assert(Delegates.pglGetHistogramParameterivEXT != null, "pglGetHistogramParameterivEXT not implemented");
             Delegates.pglGetHistogramParameterivEXT((Int32)target, (Int32)pname, p_params);
             LogFunction("glGetHistogramParameterivEXT({0}, {1}, {2})", target, pname, LogValue(@params));
         }
     }
     DebugCheckErrors(null);
 }
Пример #3
0
 public static unsafe void GetHistogramParameter(this ExtHistogram thisApi, [Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] GetHistogramParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <int> @params)
 {
     // SpanOverloader
     thisApi.GetHistogramParameter(target, pname, out @params.GetPinnableReference());
 }
Пример #4
0
 public partial void GetHistogramParameter([Flow(FlowDirection.In)] HistogramTargetEXT target, [Flow(FlowDirection.In)] GetHistogramParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out float @params);
Пример #5
0
 public unsafe partial void GetHistogramParameter([Flow(FlowDirection.In)] EXT target, [Flow(FlowDirection.In)] GetHistogramParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] float * @params);
Пример #6
0
		public static void GetHistogramParameterEXT(HistogramTargetEXT target, GetHistogramParameterPNameEXT pname, [Out] float[] @params)
		{
			unsafe {
				fixed (float* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetHistogramParameterfvEXT != null, "pglGetHistogramParameterfvEXT not implemented");
					Delegates.pglGetHistogramParameterfvEXT((Int32)target, (Int32)pname, p_params);
					CallLog("glGetHistogramParameterfvEXT({0}, {1}, {2})", target, pname, @params);
				}
			}
			DebugCheckErrors();
		}
Пример #7
0
 public abstract unsafe void GetHistogramParameter([Flow(FlowDirection.In)] HistogramTargetEXT target, [Flow(FlowDirection.In)] GetHistogramParameterPNameEXT pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] float * @params);
 public static void GetHistogramParameterivEXT( HistogramTargetEXT target, GetHistogramParameterPNameEXT pname, [Out]int[] @params )
 {
     if (_GetHistogramParameterivEXT == null) throw new Exception( "Extension method GetHistogramParameterivEXT not found" );
      _GetHistogramParameterivEXT( target, pname, @params );
 }
Пример #9
0
		public static void GetHistogramParameterEXT(HistogramTargetEXT target, GetHistogramParameterPNameEXT pname, [Out] Int32[] @params)
		{
			unsafe {
				fixed (Int32* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetHistogramParameterivEXT != null, "pglGetHistogramParameterivEXT not implemented");
					Delegates.pglGetHistogramParameterivEXT((Int32)target, (Int32)pname, p_params);
					LogFunction("glGetHistogramParameterivEXT({0}, {1}, {2})", target, pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}