Class GLXNVCopyImage

java.lang.Object
org.lwjgl.opengl.GLXNVCopyImage

public class GLXNVCopyImage extends Object
Native bindings to the GLX_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 GLX 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 void
    glXCopyImageSubDataNV(long display, long srcCtx, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, long dstCtx, 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 srcCtx and dstCtx 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

    • glXCopyImageSubDataNV

      public static void glXCopyImageSubDataNV(long display, long srcCtx, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, long dstCtx, 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 srcCtx and dstCtx parameters specify the contexts in which to look up the source and destination objects, respectively. A value of NULL for either context indicates that the value which is returned by GetCurrentContext should be used instead. Both contexts must share the same address space.
      Parameters:
      display - the connection to the X server
      srcCtx - the source context
      dstCtx - the destination context