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

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

Go to download

The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.

There is a newer version: 3.3.4
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 org.lwjgl.system.*;

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. */ public static native void glCopyImageSubDataNV(@NativeType("GLuint") int srcName, @NativeType("GLenum") int srcTarget, @NativeType("GLint") int srcLevel, @NativeType("GLint") int srcX, @NativeType("GLint") int srcY, @NativeType("GLint") int srcZ, @NativeType("GLuint") int dstName, @NativeType("GLenum") int dstTarget, @NativeType("GLint") int dstLevel, @NativeType("GLint") int dstX, @NativeType("GLint") int dstY, @NativeType("GLint") int dstZ, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLsizei") int depth); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy