public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Color4 color) { unsafe { TexEnv(target, pname, &color.R); } }
public void TexEnv(TextureEnvironmentTarget target, TextureEnvParameter pname, float param) { #if USE_OPENGL OpenTK.Graphics.OpenGL.GL.TexEnv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, param); #else OpenTK.Graphics.ES11.GL.TexEnv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, param); #endif }
public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, System.Drawing.Color color) { Color4 c = new Color4(color.R, color.G, color.B, color.A); unsafe { TexEnv(target, pname, &c.R); } }
public static void TexEnviv(TextureEnvTarget target, TextureEnvParameter pname, int[] @params) { unsafe { fixed(int * @params_ptr = @params) { Interop.Calli((int)target, (int)pname, @params_ptr, TexEnvivAddress); } } }
public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Int32[] @params) { unsafe { fixed (Int32* p_params = @params) { Debug.Assert(Delegates.pglTexEnviv != null, "pglTexEnviv not implemented"); Delegates.pglTexEnviv((Int32)target, (Int32)pname, p_params); CallLog("glTexEnviv({0}, {1}, {2})", target, pname, @params); } } DebugCheckErrors(); }
public static void glGetTexEnviv(TextureEnvTarget target, TextureEnvParameter pname, ref Int32[] @params) { i_OpenGL1_0.glGetTexEnviv(target, pname, ref @params); }
public static void glTexEnvfv(TextureEnvTarget target, TextureEnvParameter pname, ref Single[] @params) { i_OpenGL1_0.glTexEnvfv(target, pname, ref @params); }
public static void TexEnviv(TextureEnvTarget target, TextureEnvParameter pname, int * @params) { Interop.Calli((int)target, (int)pname, @params, TexEnvivAddress); }
public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, float[] @params) { unsafe { fixed (float* p_params = @params) { Debug.Assert(Delegates.pglTexEnvfv != null, "pglTexEnvfv not implemented"); Delegates.pglTexEnvfv((Int32)target, (Int32)pname, p_params); LogFunction("glTexEnvfv({0}, {1}, {2})", target, pname, LogValue(@params)); } } DebugCheckErrors(null); }
internal static extern void glTexEnvi(TextureEnvTarget target, TextureEnvParameter pname, Int32 param);
public static extern void TexEnvfv( TextureEnvTarget target, TextureEnvParameter pname, float[] @params );
public static extern void TexEnvf( TextureEnvTarget target, TextureEnvParameter pname, float param );
public static extern void TexEnvi( TextureEnvTarget target, TextureEnvParameter pname, int param );
public void TexEnv(TextureEnvironmentTarget target, TextureEnvParameter pname, float param) { glTexEnvf((int)target, (int)pname, param); }
public static void GetMultiTexEnvEXT(Int32 texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] float[] @params) { unsafe { fixed (float* p_params = @params) { Debug.Assert(Delegates.pglGetMultiTexEnvfvEXT != null, "pglGetMultiTexEnvfvEXT not implemented"); Delegates.pglGetMultiTexEnvfvEXT(texunit, (Int32)target, (Int32)pname, p_params); LogFunction("glGetMultiTexEnvfvEXT({0}, {1}, {2}, {3})", LogEnumName(texunit), target, pname, LogValue(@params)); } } DebugCheckErrors(null); }
public static void MultiTexEnvEXT(Int32 texunit, TextureEnvTarget target, TextureEnvParameter pname, float param) { Debug.Assert(Delegates.pglMultiTexEnvfEXT != null, "pglMultiTexEnvfEXT not implemented"); Delegates.pglMultiTexEnvfEXT(texunit, (Int32)target, (Int32)pname, param); LogFunction("glMultiTexEnvfEXT({0}, {1}, {2}, {3})", LogEnumName(texunit), target, pname, param); DebugCheckErrors(null); }
public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Color color) { Color4 c = new Color4(color.R, color.G, color.B, color.A); unsafe { TexEnv(target, pname, &c.R); } }
internal static extern void glTexEnvfv(TextureEnvTarget target, TextureEnvParameter pname, [OutAttribute] Single * @params);
public static void GetMultiTexEnvEXT(Int32 texunit, TextureEnvTarget target, TextureEnvParameter pname, [Out] Int32[] @params) { unsafe { fixed (Int32* p_params = @params) { Debug.Assert(Delegates.pglGetMultiTexEnvivEXT != null, "pglGetMultiTexEnvivEXT not implemented"); Delegates.pglGetMultiTexEnvivEXT(texunit, (Int32)target, (Int32)pname, p_params); CallLog("glGetMultiTexEnvivEXT({0}, {1}, {2}, {3})", texunit, target, pname, @params); } } DebugCheckErrors(); }
internal static extern void glTexEnviv(TextureEnvTarget target, TextureEnvParameter pname, [OutAttribute] Int32 * @params);
public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, float param) { Debug.Assert(Delegates.pglTexEnvf != null, "pglTexEnvf not implemented"); Delegates.pglTexEnvf((Int32)target, (Int32)pname, param); LogFunction("glTexEnvf({0}, {1}, {2})", target, pname, param); DebugCheckErrors(null); }
public static void MultiTexEnvEXT(Int32 texunit, TextureEnvTarget target, TextureEnvParameter pname, Int32 param) { Debug.Assert(Delegates.pglMultiTexEnviEXT != null, "pglMultiTexEnviEXT not implemented"); Delegates.pglMultiTexEnviEXT(texunit, (Int32)target, (Int32)pname, param); CallLog("glMultiTexEnviEXT({0}, {1}, {2}, {3})", texunit, target, pname, param); DebugCheckErrors(); }
public static extern void GetTexEnviv( TextureEnvTarget target, TextureEnvParameter pname, [Out]int[] @params );
public static unsafe void TexEnvx(this OesFixedPoint thisApi, [Flow(FlowDirection.In)] TextureEnvTarget target, [Flow(FlowDirection.In)] TextureEnvParameter pname, [Count(Computed = "pname"), Flow(FlowDirection.In)] ReadOnlySpan <int> @params) { // SpanOverloader thisApi.TexEnvx(target, pname, in @params.GetPinnableReference()); }
internal static extern void glTexEnvf(TextureEnvTarget target, TextureEnvParameter pname, Single param);
public static void glTexEnvf(TextureEnvTarget target, TextureEnvParameter pname, Single param) { i_OpenGL1_0.glTexEnvf(target, pname, param); }
internal static extern void glTexEnvfv(TextureEnvTarget target, TextureEnvParameter pname, [OutAttribute] Single* @params);
public static void glTexEnvi(TextureEnvTarget target, TextureEnvParameter pname, Int32 param) { i_OpenGL1_0.glTexEnvi(target, pname, param); }
public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, System.Drawing.Color color) { Color4 c = new Color4(color); unsafe { TexEnv(target, pname, &c.R); } }
internal static extern void glTexEnviv(TextureEnvTarget target, TextureEnvParameter pname, [OutAttribute] Int32* @params);
public static void TexEnv(TextureEnvTarget target, TextureEnvParameter pname, Int32 param) { Debug.Assert(Delegates.pglTexEnvi != null, "pglTexEnvi not implemented"); Delegates.pglTexEnvi((Int32)target, (Int32)pname, param); CallLog("glTexEnvi({0}, {1}, {2})", target, pname, param); DebugCheckErrors(); }
public static void TexEnv(TextureEnvironmentTarget target, TextureEnvParameter pname, float param) { Instance?.TexEnv(target, pname, param); }
public static void TexEnvi(TextureEnvTarget target, TextureEnvParameter pname, int param) { Interop.Calli((int)target, (int)pname, param, TexEnviAddress); }