Exemple #1
0
 public partial void FramebufferParameter([Flow(FlowDirection.In)] FramebufferTarget target, [Flow(FlowDirection.In)] FramebufferParameterName pname, [Flow(FlowDirection.In)] int param);
Exemple #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);
     }
 }
Exemple #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);
 }
Exemple #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);
		}