Example #1
0
 public static void GetColorTableParameterSGI(ColorTableTarget target, GetColorTableParameterPNameSGI pname, [Out] int[] @params)
 {
     unsafe
     {
         fixed(int *p_params = @params)
         {
             Debug.Assert(Delegates.pglGetColorTableParameterivSGI != null, "pglGetColorTableParameterivSGI not implemented");
             Delegates.pglGetColorTableParameterivSGI((int)target, (int)pname, p_params);
             LogCommand("glGetColorTableParameterivSGI", null, target, pname, @params);
         }
     }
     DebugCheckErrors(null);
 }
Example #2
0
 public static void GetColorTableParameterSGI(ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out] float[] @params)
 {
     unsafe
     {
         fixed(float *p_params = @params)
         {
             Debug.Assert(Delegates.pglGetColorTableParameterfvSGI != null, "pglGetColorTableParameterfvSGI not implemented");
             Delegates.pglGetColorTableParameterfvSGI((Int32)target, (Int32)pname, p_params);
             LogFunction("glGetColorTableParameterfvSGI({0}, {1}, {2})", target, pname, LogValue(@params));
         }
     }
     DebugCheckErrors(null);
 }
 public abstract void GetColorTableParameter([Flow(FlowDirection.In)] ColorTableTarget target, [Flow(FlowDirection.In)] GetColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out float @params);
Example #4
0
 public static unsafe void GetColorTableParameter(this ExtPalettedTexture thisApi, [Flow(FlowDirection.In)] ColorTableTarget target, [Flow(FlowDirection.In)] GetColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] Span <float> @params)
 {
     // SpanOverloader
     thisApi.GetColorTableParameter(target, pname, out @params.GetPinnableReference());
 }
 public static void GetColorTableParameterivSGI( ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out]int[] @params )
 {
     if (_GetColorTableParameterivSGI == null) throw new Exception( "Extension method GetColorTableParameterivSGI not found" );
      _GetColorTableParameterivSGI( target, pname, @params );
 }
Example #6
0
 public abstract unsafe void GetColorTableParameter([Flow(FlowDirection.In)] ColorTableTargetSGI target, [Flow(FlowDirection.In)] GetColorTableParameterPNameSGI pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] int * @params);
		public static void GetColorTableParameterSGI(ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out] float[] @params)
		{
			unsafe {
				fixed (float* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetColorTableParameterfvSGI != null, "pglGetColorTableParameterfvSGI not implemented");
					Delegates.pglGetColorTableParameterfvSGI((Int32)target, (Int32)pname, p_params);
					CallLog("glGetColorTableParameterfvSGI({0}, {1}, {2})", target, pname, @params);
				}
			}
			DebugCheckErrors();
		}
		public static void GetColorTableParameterSGI(ColorTableTargetSGI target, GetColorTableParameterPNameSGI pname, [Out] Int32[] @params)
		{
			unsafe {
				fixed (Int32* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetColorTableParameterivSGI != null, "pglGetColorTableParameterivSGI not implemented");
					Delegates.pglGetColorTableParameterivSGI((Int32)target, (Int32)pname, p_params);
					LogFunction("glGetColorTableParameterivSGI({0}, {1}, {2})", target, pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}