public static void PixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, Int32 param)
		{
			Debug.Assert(Delegates.pglPixelTexGenParameteriSGIS != null, "pglPixelTexGenParameteriSGIS not implemented");
			Delegates.pglPixelTexGenParameteriSGIS((Int32)pname, param);
			CallLog("glPixelTexGenParameteriSGIS({0}, {1})", pname, param);
			DebugCheckErrors();
		}
Exemple #2
0
 public static void PixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, float param)
 {
     Debug.Assert(Delegates.pglPixelTexGenParameterfSGIS != null, "pglPixelTexGenParameterfSGIS not implemented");
     Delegates.pglPixelTexGenParameterfSGIS((Int32)pname, param);
     LogFunction("glPixelTexGenParameterfSGIS({0}, {1})", pname, param);
     DebugCheckErrors(null);
 }
 public static void PixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, Int32 param)
 {
     Debug.Assert(Delegates.pglPixelTexGenParameteriSGIS != null, "pglPixelTexGenParameteriSGIS not implemented");
     Delegates.pglPixelTexGenParameteriSGIS((Int32)pname, param);
     LogCommand("glPixelTexGenParameteriSGIS", null, pname, param);
     DebugCheckErrors(null);
 }
        /// <summary>
        /// To be added.
        /// </summary>
        /// <param name="pname">
        /// To be added.
        /// </param>
        /// <param name="@params">
        /// To be added.
        /// This parameter's element count is computed from pname.
        /// </param>
        public unsafe int GetPixelTexGenParameter([Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname)
        {
            // ReturnTypeOverloader
            int ret = default;

            GetPixelTexGenParameter(pname, &ret);
            return(ret);
        }
		public static void PixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, Int32[] @params)
		{
			unsafe {
				fixed (Int32* p_params = @params)
				{
					Debug.Assert(Delegates.pglPixelTexGenParameterivSGIS != null, "pglPixelTexGenParameterivSGIS not implemented");
					Delegates.pglPixelTexGenParameterivSGIS((Int32)pname, p_params);
					CallLog("glPixelTexGenParameterivSGIS({0}, {1})", pname, @params);
				}
			}
			DebugCheckErrors();
		}
 public static void GetPixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, [Out] float[] @params)
 {
     unsafe
     {
         fixed(float *p_params = @params)
         {
             Debug.Assert(Delegates.pglGetPixelTexGenParameterfvSGIS != null, "pglGetPixelTexGenParameterfvSGIS not implemented");
             Delegates.pglGetPixelTexGenParameterfvSGIS((int)pname, p_params);
             LogCommand("glGetPixelTexGenParameterfvSGIS", null, pname, @params);
         }
     }
     DebugCheckErrors(null);
 }
 public static void PixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, Int32[] @params)
 {
     unsafe
     {
         fixed(Int32 *p_params = @params)
         {
             Debug.Assert(Delegates.pglPixelTexGenParameterivSGIS != null, "pglPixelTexGenParameterivSGIS not implemented");
             Delegates.pglPixelTexGenParameterivSGIS((Int32)pname, p_params);
             LogCommand("glPixelTexGenParameterivSGIS", null, pname, @params);
         }
     }
     DebugCheckErrors(null);
 }
Exemple #8
0
 public static void PixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, Int32[] @params)
 {
     unsafe
     {
         fixed(Int32 *p_params = @params)
         {
             Debug.Assert(Delegates.pglPixelTexGenParameterivSGIS != null, "pglPixelTexGenParameterivSGIS not implemented");
             Delegates.pglPixelTexGenParameterivSGIS((Int32)pname, p_params);
             LogFunction("glPixelTexGenParameterivSGIS({0}, {1})", pname, LogValue(@params));
         }
     }
     DebugCheckErrors(null);
 }
		public static void PixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, float param)
		{
			Debug.Assert(Delegates.pglPixelTexGenParameterfSGIS != null, "pglPixelTexGenParameterfSGIS not implemented");
			Delegates.pglPixelTexGenParameterfSGIS((Int32)pname, param);
			LogFunction("glPixelTexGenParameterfSGIS({0}, {1})", pname, param);
			DebugCheckErrors(null);
		}
 public static void GetPixelTexGenParameterfvSGIS( PixelTexGenParameterNameSGIS pname, [Out]float[] @params )
 {
     if (_GetPixelTexGenParameterfvSGIS == null) throw new Exception( "Extension method GetPixelTexGenParameterfvSGIS not found" );
      _GetPixelTexGenParameterfvSGIS( pname, @params );
 }
 public abstract void PixelTexGenParameter([Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ref float @params);
 public abstract void PixelTexGenParameter([Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname, [Flow(FlowDirection.In)] float param);
 public abstract unsafe void PixelTexGenParameter([Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] int * @params);
 public abstract void GetPixelTexGenParameter([Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out int @params);
 public static void PixelTexGenParameterfSGIS( PixelTexGenParameterNameSGIS pname, float param )
 {
     if (_PixelTexGenParameterfSGIS == null) throw new Exception( "Extension method PixelTexGenParameterfSGIS not found" );
      _PixelTexGenParameterfSGIS( pname, param );
 }
 public partial void PixelTexGenParameter([Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname, [Flow(FlowDirection.In)] int param);
 public partial void GetPixelTexGenParameter([Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname, [Count(Computed = "pname"), Flow(FlowDirection.Out)] out float @params);
		public static void GetPixelTexGenParameterSGIS(PixelTexGenParameterNameSGIS pname, [Out] float[] @params)
		{
			unsafe {
				fixed (float* p_params = @params)
				{
					Debug.Assert(Delegates.pglGetPixelTexGenParameterfvSGIS != null, "pglGetPixelTexGenParameterfvSGIS not implemented");
					Delegates.pglGetPixelTexGenParameterfvSGIS((Int32)pname, p_params);
					LogFunction("glGetPixelTexGenParameterfvSGIS({0}, {1})", pname, LogValue(@params));
				}
			}
			DebugCheckErrors(null);
		}
 public static void PixelTexGenParameterivSGIS( PixelTexGenParameterNameSGIS pname, int[] @params )
 {
     if (_PixelTexGenParameterivSGIS == null) throw new Exception( "Extension method PixelTexGenParameterivSGIS not found" );
      _PixelTexGenParameterivSGIS( pname, @params );
 }
 public static unsafe void PixelTexGenParameter(this SgisPixelTexture thisApi, [Flow(FlowDirection.In)] PixelTexGenParameterNameSGIS pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ReadOnlySpan <float> @params)
 {
     // SpanOverloader
     thisApi.PixelTexGenParameter(pname, in @params.GetPinnableReference());
 }