Class EXTBufferStorage


  • public class EXTBufferStorage
    extends java.lang.Object
    Native bindings to the EXT_buffer_storage extension.

    OpenGL ES has long supported buffer objects as a means of storing data that may be used to source vertex attributes, pixel data for textures, uniforms and other elements. In un-extended ES, buffer data stores are mutable - that is, they may be de-allocated or resized while they are in use. The GL_EXT_texture_storage extension added immutable storage for texture objects (and was subsequently incorporated into OpenGL ES 3.0). This extension further applies the concept of immutable storage to buffer objects. If an implementation is aware of a buffer's immutability, it may be able to make certain assumptions or apply particular optimizations in order to increase performance or reliability.

    Furthermore, this extension allows applications to pass additional information about a requested allocation to the implementation which it may use to select memory heaps, caching behavior or allocation strategies.

    Finally, this extension introduces the concept of persistent client mappings of buffer objects, which allow clients to retain pointers to a buffer's data store returned as the result of a mapping, and to issue drawing commands while those mappings are in place.

    Requires GLES 3.1.

    • Method Detail

      • nglBufferStorageEXT

        public static void nglBufferStorageEXT​(int target,
                                               long size,
                                               long data,
                                               int flags)
      • glBufferStorageEXT

        public static void glBufferStorageEXT​(int target,
                                              long size,
                                              int flags)
      • glBufferStorageEXT

        public static void glBufferStorageEXT​(int target,
                                              java.nio.ByteBuffer data,
                                              int flags)
      • glBufferStorageEXT

        public static void glBufferStorageEXT​(int target,
                                              java.nio.ShortBuffer data,
                                              int flags)
      • glBufferStorageEXT

        public static void glBufferStorageEXT​(int target,
                                              java.nio.IntBuffer data,
                                              int flags)
      • glBufferStorageEXT

        public static void glBufferStorageEXT​(int target,
                                              java.nio.FloatBuffer data,
                                              int flags)
      • nglNamedBufferStorageEXT

        public static void nglNamedBufferStorageEXT​(int buffer,
                                                    long size,
                                                    long data,
                                                    int flags)
      • glNamedBufferStorageEXT

        public static void glNamedBufferStorageEXT​(int buffer,
                                                   long size,
                                                   int flags)
      • glNamedBufferStorageEXT

        public static void glNamedBufferStorageEXT​(int buffer,
                                                   java.nio.ByteBuffer data,
                                                   int flags)
      • glNamedBufferStorageEXT

        public static void glNamedBufferStorageEXT​(int buffer,
                                                   java.nio.ShortBuffer data,
                                                   int flags)
      • glNamedBufferStorageEXT

        public static void glNamedBufferStorageEXT​(int buffer,
                                                   java.nio.IntBuffer data,
                                                   int flags)
      • glNamedBufferStorageEXT

        public static void glNamedBufferStorageEXT​(int buffer,
                                                   java.nio.FloatBuffer data,
                                                   int flags)
      • glBufferStorageEXT

        public static void glBufferStorageEXT​(int target,
                                              short[] data,
                                              int flags)
        
        public static void glBufferStorageEXT​(int target,
                                              int[] data,
                                              int flags)
        
        public static void glBufferStorageEXT​(int target,
                                              float[] data,
                                              int flags)
        
        Array version of: BufferStorageEXT
      • glNamedBufferStorageEXT

        public static void glNamedBufferStorageEXT​(int buffer,
                                                   short[] data,
                                                   int flags)
        
        public static void glNamedBufferStorageEXT​(int buffer,
                                                   int[] data,
                                                   int flags)
        
        public static void glNamedBufferStorageEXT​(int buffer,
                                                   float[] data,
                                                   int flags)
        
        Array version of: NamedBufferStorageEXT