Class NVShaderBufferStore

java.lang.Object
org.lwjgl.opengl.NVShaderBufferStore

public final class NVShaderBufferStore extends Object
Native bindings to the NV_shader_buffer_store extension.

This extension builds upon the mechanisms added by the NV_shader_buffer_load extension to allow shaders to perform random-access reads to buffer object memory without using dedicated buffer object binding points. Instead, it allowed an application to make a buffer object resident, query a GPU address (pointer) for the buffer object, and then use that address as a pointer in shader code. This approach allows shaders to access a large number of buffer objects without needing to repeatedly bind buffers to a limited number of fixed-functionality binding points.

Requires OpenGL 3.0, GLSL 1.30, NV_shader_buffer_load, NV_gpu_program5 and/or NV_gpu_shader5.

  • Field Details

    • GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV

      public static final int GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV
      Accepted by the barriers parameter of MemoryBarrierNV.
      See Also: