Class NVMemoryAttachment


  • public class NVMemoryAttachment
    extends java.lang.Object
    Native bindings to the NV_memory_attachment extension.

    This extension extends the memory objects introduced with EXT_memory_object to allow existing textures and buffers to be migrated to an imported memory allocation. The primary use-case of this extension is plug-in development where resource management (creation, deletion, sizing etc.) is handled by inaccessible host application code.

    Requires EXT_memory_object and EXT_texture_storage or a version of OpenGL ES that incorporates it.

    • Method Detail

      • nglGetMemoryObjectDetachedResourcesuivNV

        public static void nglGetMemoryObjectDetachedResourcesuivNV​(int memory,
                                                                    int pname,
                                                                    int first,
                                                                    int count,
                                                                    long params)
      • glGetMemoryObjectDetachedResourcesuivNV

        public static void glGetMemoryObjectDetachedResourcesuivNV​(int memory,
                                                                   int pname,
                                                                   int first,
                                                                   java.nio.IntBuffer params)
      • glResetMemoryObjectParameterNV

        public static void glResetMemoryObjectParameterNV​(int memory,
                                                          int pname)
      • glTexAttachMemoryNV

        public static void glTexAttachMemoryNV​(int target,
                                               int memory,
                                               long offset)
      • glBufferAttachMemoryNV

        public static void glBufferAttachMemoryNV​(int target,
                                                  int memory,
                                                  long offset)
      • glTextureAttachMemoryNV

        public static void glTextureAttachMemoryNV​(int texture,
                                                   int memory,
                                                   long offset)
      • glNamedBufferAttachMemoryNV

        public static void glNamedBufferAttachMemoryNV​(int buffer,
                                                       int memory,
                                                       long offset)
      • glGetMemoryObjectDetachedResourcesuivNV

        public static void glGetMemoryObjectDetachedResourcesuivNV​(int memory,
                                                                   int pname,
                                                                   int first,
                                                                   int[] params)