Example #1
0
 public static void ClipPlaneIMG(ClipPlaneName p, IntPtr[] eqn)
 {
     unsafe
     {
         fixed(IntPtr *p_eqn = eqn)
         {
             Debug.Assert(Delegates.pglClipPlanexIMG != null, "pglClipPlanexIMG not implemented");
             Delegates.pglClipPlanexIMG((Int32)p, p_eqn);
             LogCommand("glClipPlanexIMG", null, p, eqn);
         }
     }
     DebugCheckErrors(null);
 }
Example #2
0
 public static void ClipPlaneOES(ClipPlaneName plane, float[] equation)
 {
     unsafe
     {
         fixed(float *p_equation = equation)
         {
             Debug.Assert(Delegates.pglClipPlanefOES != null, "pglClipPlanefOES not implemented");
             Delegates.pglClipPlanefOES((Int32)plane, p_equation);
             LogCommand("glClipPlanefOES", null, plane, equation);
         }
     }
     DebugCheckErrors(null);
 }
Example #3
0
        public static void ClipPlane(ClipPlaneName p, float[] eqn)
        {
            Debug.Assert(eqn.Length >= 4);
            unsafe
            {
                fixed(float *p_eqn = eqn)
                {
                    Debug.Assert(Delegates.pglClipPlanef != null, "pglClipPlanef not implemented");
                    Delegates.pglClipPlanef((int)p, p_eqn);
                }
            }

            DebugCheckErrors(null);
        }
Example #4
0
 public static void GetClipPlaneOES(ClipPlaneName plane, [Out] float[] equation)
 {
     Debug.Assert(equation.Length >= 4);
     unsafe
     {
         fixed(float *p_equation = equation)
         {
             Debug.Assert(Delegates.pglGetClipPlanefOES != null, "pglGetClipPlanefOES not implemented");
             Delegates.pglGetClipPlanefOES((int)plane, p_equation);
             LogCommand("glGetClipPlanefOES", null, plane, equation);
         }
     }
     DebugCheckErrors(null);
 }
Example #5
0
 public static void ClipPlaneIMG(ClipPlaneName p, float[] eqn)
 {
     Debug.Assert(eqn.Length >= 4);
     unsafe
     {
         fixed(float *p_eqn = eqn)
         {
             Debug.Assert(Delegates.pglClipPlanefIMG != null, "pglClipPlanefIMG not implemented");
             Delegates.pglClipPlanefIMG((int)p, p_eqn);
             LogCommand("glClipPlanefIMG", null, p, eqn);
         }
     }
     DebugCheckErrors(null);
 }
Example #6
0
        public static void GetClipPlane(ClipPlaneName plane, [Out] IntPtr[] equation)
        {
            Debug.Assert(equation.Length >= 4);
            unsafe
            {
                fixed(IntPtr *p_equation = equation)
                {
                    Debug.Assert(Delegates.pglGetClipPlanex != null, "pglGetClipPlanex not implemented");
                    Delegates.pglGetClipPlanex((int)plane, p_equation);
                }
            }

            DebugCheckErrors(null);
        }
Example #7
0
 public abstract void GetClipPlane([Flow(FlowDirection.In)] ClipPlaneName plane, [Count(Count = 4), Flow(FlowDirection.Out)] Span <float> equation);
Example #8
0
 public abstract unsafe void GetClipPlane([Flow(FlowDirection.In)] ClipPlaneName plane, [Count(Count = 4), Flow(FlowDirection.Out)] float *equation);
Example #9
0
 public static void glGetClipPlane(ClipPlaneName plane, ref Double[] equation)
 {
     i_OpenGL1_0.glGetClipPlane(plane, ref equation);
 }
Example #10
0
 internal static extern void glClipPlane(ClipPlaneName plane, Double *equation);
Example #11
0
 internal static extern void glGetClipPlane(ClipPlaneName plane, [OutAttribute] Double *equation);
Example #12
0
 public static unsafe void GetClipPlane(this OesSinglePrecision thisApi, [Flow(FlowDirection.In)] ClipPlaneName plane, [Count(Count = 4), Flow(FlowDirection.Out)] Span <float> equation)
 {
     // SpanOverloader
     thisApi.GetClipPlane(plane, out equation.GetPinnableReference());
 }
 public static extern void ClipPlane( ClipPlaneName plane, double[] equation );
 public static unsafe void ClipPlanex(this OesFixedPoint thisApi, [Flow(FlowDirection.In)] ClipPlaneName plane, [Count(Count = 4), Flow(FlowDirection.In)] ReadOnlySpan <int> equation)
 {
     // SpanOverloader
     thisApi.ClipPlanex(plane, in equation.GetPinnableReference());
 }
Example #15
0
 public void GetClipPlane(ClipPlaneName plane, double[] equation)
 {
     gl.glGetClipPlane((int)plane, equation);
     CheckException();
 }
Example #16
0
 public void ClipPlane(ClipPlaneName plane, double[] equation)
 {
     gl.glClipPlane((int)plane, equation);
 }
 public static extern void GetClipPlane( ClipPlaneName plane, [Out]double[] equation );
 public PlaneResource(EnableCap enableCap, ClipPlaneName clipPlaneName)
 {
     EnableCap     = enableCap;
     ClipPlaneName = clipPlaneName;
 }
Example #19
0
		internal static extern void glClipPlane(ClipPlaneName plane, Double* equation);
Example #20
0
		internal static extern void glGetClipPlane(ClipPlaneName plane, [OutAttribute] Double* equation);
Example #21
0
 public static void GetClipPlane(ClipPlaneName plane, double[] equation)
 {
     gl.glGetClipPlane((int)plane, equation);
 }
Example #22
0
		public static void ClipPlane(ClipPlaneName plane, double[] equation)
		{
			unsafe {
				fixed (double* p_equation = equation)
				{
					Debug.Assert(Delegates.pglClipPlane != null, "pglClipPlane not implemented");
					Delegates.pglClipPlane((Int32)plane, p_equation);
					CallLog("glClipPlane({0}, {1})", plane, equation);
				}
			}
			DebugCheckErrors();
		}
Example #23
0
		public static void GetClipPlane(ClipPlaneName plane, [Out] double[] equation)
		{
			unsafe {
				fixed (double* p_equation = equation)
				{
					Debug.Assert(Delegates.pglGetClipPlane != null, "pglGetClipPlane not implemented");
					Delegates.pglGetClipPlane((Int32)plane, p_equation);
					LogFunction("glGetClipPlane({0}, {1})", plane, LogValue(equation));
				}
			}
			DebugCheckErrors(null);
		}