Class ARBMapBufferAlignment

java.lang.Object
org.lwjgl.opengl.ARBMapBufferAlignment

public final class ARBMapBufferAlignment extends Object
Native bindings to the ARB_map_buffer_alignment extension.

This extension adds a requirement to the pointer returned by MapBuffer and MapBufferRange that they provide a minimum of 64 byte alignment to support processing of the data directly with special CPU instructions like SSE and AVX.

Requires OpenGL 2.1. Promoted to core in OpenGL 4.2.

  • Field Details

    • GL_MIN_MAP_BUFFER_ALIGNMENT

      public static final int GL_MIN_MAP_BUFFER_ALIGNMENT
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
      See Also: