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

org.lwjgl.opengl.NVTextureMultisample 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_texture_multisample extension.
 * 
 * 

This specification extends NV_gpu_program4 to support per-sample fetching from multisample textures described in * {@link ARBTextureMultisample ARB_texture_multisample}.

* *

Requires {@link GL20 OpenGL 2.0}, {@link ARBTextureMultisample ARB_texture_multisample}.

*/ public class NVTextureMultisample { /** Accepted by the {@code pname} parameter of GetTexLevelParameter. */ public static final int GL_TEXTURE_COVERAGE_SAMPLES_NV = 0x9045, GL_TEXTURE_COLOR_SAMPLES_NV = 0x9046; static { GL.initialize(); } protected NVTextureMultisample() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glTexImage2DMultisampleCoverageNV, caps.glTexImage3DMultisampleCoverageNV, caps.glTextureImage2DMultisampleNV, caps.glTextureImage3DMultisampleNV, caps.glTextureImage2DMultisampleCoverageNV, caps.glTextureImage3DMultisampleCoverageNV ); } // --- [ glTexImage2DMultisampleCoverageNV ] --- public static native void glTexImage2DMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, boolean fixedSampleLocations); // --- [ glTexImage3DMultisampleCoverageNV ] --- public static native void glTexImage3DMultisampleCoverageNV(int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations); // --- [ glTextureImage2DMultisampleNV ] --- public static native void glTextureImage2DMultisampleNV(int texture, int target, int samples, int internalFormat, int width, int height, boolean fixedSampleLocations); // --- [ glTextureImage3DMultisampleNV ] --- public static native void glTextureImage3DMultisampleNV(int texture, int target, int samples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations); // --- [ glTextureImage2DMultisampleCoverageNV ] --- public static native void glTextureImage2DMultisampleCoverageNV(int texture, int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, boolean fixedSampleLocations); // --- [ glTextureImage3DMultisampleCoverageNV ] --- public static native void glTextureImage3DMultisampleCoverageNV(int texture, int target, int coverageSamples, int colorSamples, int internalFormat, int width, int height, int depth, boolean fixedSampleLocations); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy