33#ifndef GL_SHADER_BUFFER_OBJECT_H_
34#define GL_SHADER_BUFFER_OBJECT_H_
Rough around the edges Adapter pattern abstracting the actual rendering API and access to the GPU.
GFXDevice & context() const noexcept
Base class for shader uniform blocks.
bool bindByteRange(U8 bindIndex, BufferRange range, I32 readIndex=-1)
const glBufferImpl_uptr & bufferImpl() const noexcept
BufferLock writeBytesInternal(BufferRange range, const bufferPtr data) override
void readBytesInternal(BufferRange range, std::pair< bufferPtr, size_t > outData) override
glBufferImpl_uptr _bufferImpl
LockableBuffer * getBufferImpl() override final
Handle console commands that start with a forward slash.