Exemplo n.º 1
0
 public partial void FramebufferParameter([Flow(FlowDirection.In)] FramebufferTarget target, [Flow(FlowDirection.In)] FramebufferParameterName pname, [Flow(FlowDirection.In)] int param);
Exemplo n.º 2
0
 public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, out int @params)
 {
     if (GraphicsExtensions.UseArbFramebuffer)
     {
         GL.GetFramebufferAttachmentParameter(target, attachment, pname, out @params);
     }
     else
     {
         GL.Ext.GetFramebufferAttachmentParameter(target, attachment, pname, out @params);
     }
 }
Exemplo n.º 3
0
 public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, out int @params)
 {
   if (GraphicsExtensions.UseArbFramebuffer)
     GL.GetFramebufferAttachmentParameter(target, attachment, pname, out @params);
   else
     GL.Ext.GetFramebufferAttachmentParameter(target, attachment, pname, out @params);
 }
Exemplo n.º 4
0
		public static void GetFramebufferAttachmentParameter(FramebufferTarget target, FramebufferAttachment attachment, FramebufferParameterName pname, int[] parameters)
		{
			glGetFramebufferAttachmentParameter deleg = BaseGraphicsContext.Current.Loader.Get<glGetFramebufferAttachmentParameter>();
			if (deleg != null)
				deleg(target, attachment, pname, parameters);
		}