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

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

/*
 * 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 NVX_conditional_render extension.
 * 
 * 

This extension provides support for conditional rendering based on the * results of an occlusion query. This mechanism allows an application to * potentially reduce the latency between the completion of an occlusion * query and the rendering commands depending on its result. It additionally * allows the decision of whether to render to be made without application * intervention.

* *

Requires {@link GL15 OpenGL 1.5} or {@link ARBOcclusionQuery ARB_occlusion_query}

*/ public class NVXConditionalRender { static { GL.initialize(); } protected NVXConditionalRender() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glBeginConditionalRenderNVX, caps.glEndConditionalRenderNVX ); } // --- [ glBeginConditionalRenderNVX ] --- public static native void glBeginConditionalRenderNVX(int id); // --- [ glEndConditionalRenderNVX ] --- public static native void glEndConditionalRenderNVX(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy