Class WGLNVCopyImage

java.lang.Object
org.lwjgl.opengl.WGLNVCopyImage

public class WGLNVCopyImage extends Object
Native bindings to the WGL_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 version allows copying between images in different contexts, even if those contexts are in different sharelists or even on different physical devices.

  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    wglCopyImageSubDataNV(long srcRC, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, long dstRC, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth)
    Behaves identically to the core function CopyImageSubDataNV, except that the srcRC and dstRC parameters specify the contexts in which to look up the source and destination objects, respectively.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • wglCopyImageSubDataNV

      public static boolean wglCopyImageSubDataNV(long srcRC, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, long dstRC, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth)
      Behaves identically to the core function CopyImageSubDataNV, except that the srcRC and dstRC parameters specify the contexts in which to look up the source and destination objects, respectively. A value of zero indicates that the currently bound context should be used instead.
      Parameters:
      srcRC - the source OpenGL context
      srcName - the source object
      srcTarget - the source object target
      srcLevel - the source level-of-detail number
      srcX - the source texel x coordinate
      srcY - the source texel y coordinate
      srcZ - the source texel z coordinate
      dstRC - the destination OpenGL context
      dstName - the destination object
      dstTarget - the destination object target
      dstLevel - the destination level-of-detail number
      dstX - the destination texel x coordinate
      dstY - the destination texel y coordinate
      dstZ - the destination texel z coordinate
      width - the number of texels to copy in the x-dimension
      height - the number of texels to copy in the y-dimension
      depth - the number of texels to copy in the z-dimension