public static void Fog(FogPName pname, IntPtr param) { Debug.Assert(Delegates.pglFogx != null, "pglFogx not implemented"); Delegates.pglFogx((Int32)pname, param); LogCommand("glFogx", null, pname, param); DebugCheckErrors(null); }
public static void Fog(FogPName pname, IntPtr[] param) { unsafe { fixed (IntPtr* p_param = param) { Debug.Assert(Delegates.pglFogxv != null, "pglFogxv not implemented"); Delegates.pglFogxv((int)pname, p_param); LogCommand("glFogxv", null, pname, param ); } } DebugCheckErrors(null); }
public static unsafe void Fogx(this OesFixedPoint thisApi, [Flow(FlowDirection.In)] FogPName pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ReadOnlySpan <int> param) { // SpanOverloader thisApi.Fogx(pname, in param.GetPinnableReference()); }