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

org.lwjgl.opengl.NVFramebufferMultisampleCoverage Maven / Gradle / Ivy

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

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

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

This extension extends the EXT_framebuffer_multisample specification by providing a new function, RenderBufferStorageMultisampleCoverageNV, that * distinguishes between color samples and coverage samples.

* *

EXT_framebuffer_multisample introduced the function RenderbufferStorageMultisampleEXT as a method of defining the storage parameters for a multisample * render buffer. This function takes a {@code samples} parameter. Using rules provided by the specification, the parameter is resolved to an actual * number of samples that is supported by the underlying hardware. EXT_framebuffer_multisample does not specify whether {@code samples} refers to coverage * samples or color samples.

* *

This extension adds the function RenderbufferStorageMultisamplCoverageNV, which takes a {@code coverageSamples} parameter as well as a * {@code colorSamples} parameter. These two parameters give developers more fine grained control over the quality of multisampled images.

* *

Requires {@link EXTFramebufferObject EXT_framebuffer_object}, {@link EXTFramebufferBlit EXT_framebuffer_blit} and {@link EXTFramebufferMultisample EXT_framebuffer_multisample}.

*/ public class NVFramebufferMultisampleCoverage { /** Accepted by the {@code pname} parameter of GetRenderbufferParameterivEXT. */ public static final int GL_RENDERBUFFER_COVERAGE_SAMPLES_NV = 0x8CAB, GL_RENDERBUFFER_COLOR_SAMPLES_NV = 0x8E10; /** Accepted by the {@code pname} parameter of GetIntegerv. */ public static final int GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11, GL_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E12; static { GL.initialize(); } protected NVFramebufferMultisampleCoverage() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glRenderbufferStorageMultisampleCoverageNV ); } // --- [ glRenderbufferStorageMultisampleCoverageNV ] --- public static native void glRenderbufferStorageMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalformat, int width, int height); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy