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

org.lwjgl.opengl.GLXNVCopyBuffer 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.*;
import static org.lwjgl.system.JNI.*;

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

Extends {@link ARBCopyBuffer ARB_copy_buffer} to have GLX bindings.

*/ public class GLXNVCopyBuffer { protected GLXNVCopyBuffer() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLXCapabilities caps) { return checkFunctions( caps.glXCopyBufferSubDataNV, caps.glXNamedCopyBufferSubDataNV ); } // --- [ glXCopyBufferSubDataNV ] --- /** * @param display the connection to the X server * @param readCtx * @param writeCtx * @param readTarget * @param writeTarget * @param readOffset * @param writeOffset * @param size */ public static void glXCopyBufferSubDataNV(long display, long readCtx, long writeCtx, int readTarget, int writeTarget, long readOffset, long writeOffset, long size) { long __functionAddress = GL.getCapabilitiesGLXClient().glXCopyBufferSubDataNV; if (CHECKS) { check(__functionAddress); check(display); check(readCtx); check(writeCtx); } callPPPPPPV(__functionAddress, display, readCtx, writeCtx, readTarget, writeTarget, readOffset, writeOffset, size); } // --- [ glXNamedCopyBufferSubDataNV ] --- /** * @param display the connection to the X server * @param readCtx * @param writeCtx * @param readBuffer * @param writeBuffer * @param readOffset * @param writeOffset * @param size */ public static void glXNamedCopyBufferSubDataNV(long display, long readCtx, long writeCtx, int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size) { long __functionAddress = GL.getCapabilitiesGLXClient().glXNamedCopyBufferSubDataNV; if (CHECKS) { check(__functionAddress); check(display); check(readCtx); check(writeCtx); } callPPPPPPV(__functionAddress, display, readCtx, writeCtx, readBuffer, writeBuffer, readOffset, writeOffset, size); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy