Пример #1
0
		public static void ShadeModel(ShadingModel mode)
		{
			Debug.Assert(Delegates.pglShadeModel != null, "pglShadeModel not implemented");
			Delegates.pglShadeModel((Int32)mode);
			CallLog("glShadeModel({0})", mode);
			DebugCheckErrors();
		}
Пример #2
0
		internal static extern void glShadeModel(ShadingModel mode);
Пример #3
0
		public static void ShadeModel(ShadingModel model)
		{
#if USE_OPENGL
			if (openGlHardwareAvailable)
			{
				OpenTK.Graphics.OpenGL.GL.ShadeModel((OpenTK.Graphics.OpenGL.ShadingModel)model);
			}
#else
			OpenTK.Graphics.ES11.GL.ShadeModel ((OpenTK.Graphics.ES11.All)model);
#endif
		}
Пример #4
0
 public void ShadeModel(ShadingModel mode)
 {
     gl.glShadeModel((int)mode);
     CheckException();
 }
Пример #5
0
 public static void ShadeModel(ShadingModel mode)
 {
     gl.glShadeModel((int)mode);
 }
 public static extern void ShadeModel( ShadingModel mode );
Пример #7
0
 public virtual void SetModel(ShadingModel aModel)
 {
     fShadingModel = aModel;
     Realize();
 }
Пример #8
0
 public GLShadingModel(GraphicsInterface gi, ShadingModel aModel)
     :base(gi)
 {
     fShadingModel = aModel;
 }