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

org.lwjgl.opengl.NVCopyImage 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 NV_copy_image extension.
 * 
 * 

This extension enables efficient image data transfer between image objects (i.e. textures and renderbuffers) without the need to bind the objects or * otherwise configure the rendering pipeline. The WGL and GLX versions allow copying between images in different contexts, even if those contexts are in * different sharelists or even on different physical devices.

*/ public class NVCopyImage { static { GL.initialize(); } protected NVCopyImage() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glCopyImageSubDataNV ); } // --- [ glCopyImageSubDataNV ] --- /** * Copies a region of texel data between two image objects. An image object may be either a texture or a renderbuffer. * * @param srcName * @param srcTarget * @param srcLevel * @param srcX * @param srcY * @param srcZ * @param dstName * @param dstTarget * @param dstLevel * @param dstX * @param dstY * @param dstZ * @param width * @param height * @param depth */ public static native void glCopyImageSubDataNV(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy