All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengles.INTELFramebufferCMAA Maven / Gradle / Ivy

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengles;

import static org.lwjgl.system.Checks.*;

/**
 * Native bindings to the INTEL_framebuffer_CMAA extension.
 * 
 * 

Multisampling is a mechanism to antialias all GL primitives and is part of the GL specification.

* *

Better visual quality can be achieved by applying multisampling. However, on certain platforms it comes at a high performance cost. In general, the * greater number of samples per pixel, the bigger the cost.

* *

Conservative Morphological Anti-Aliasing (CMAA) is an alternative approach to antialiasing, which operates on the final image. This post processing * technique results in image quality comparable to multisampling at much lower cost and better performance.

* *

This extension incorporates an optimized CMAA algorithm implementation into the GL implementation.

* *

For more information on CMAA refer to http://software.intel.com.

*/ public class INTELFramebufferCMAA { static { GLES.initialize(); } protected INTELFramebufferCMAA() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLESCapabilities caps) { return checkFunctions( caps.glApplyFramebufferAttachmentCMAAINTEL ); } // --- [ glApplyFramebufferAttachmentCMAAINTEL ] --- /** Unsafe version of: {@link #glApplyFramebufferAttachmentCMAAINTEL ApplyFramebufferAttachmentCMAAINTEL} */ public static native void nglApplyFramebufferAttachmentCMAAINTEL(); /** * Requests the post processing of current draw buffers pertaining to the framebuffer bound to the {@link GLES30#GL_DRAW_FRAMEBUFFER DRAW_FRAMEBUFFER} target according to the * Conservative Morphological Anti-Aliasing algorithm. */ public static void glApplyFramebufferAttachmentCMAAINTEL() { nglApplyFramebufferAttachmentCMAAINTEL(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy