13 #ifndef OGLPLUS_BUFFER_GPU_ADDR_1310102147_HPP
14 #define OGLPLUS_BUFFER_GPU_ADDR_1310102147_HPP
16 #if GL_NV_shader_buffer_load
23 class BufferGPUAddress;
24 GLuint64EXT GetGLAddress(BufferGPUAddress);
27 class BufferGPUAddress
30 friend GLuint64EXT GetGLAddress(BufferGPUAddress);
34 BufferGPUAddress(GLuint64EXT addr)
39 inline GLuint64EXT GetGLAddress(BufferGPUAddress bga)
45 struct AdjustProgVar<BufferGPUAddress>
47 typedef GLuint64 BaseType;
48 typedef BufferGPUAddress ValueType;
50 inline static BaseType Adjust(ValueType value)
52 return GetGLAddress(value);
58 #endif // GL_NV_shader_buffer_load
60 #endif // include guard
Program variable type operations.