48 LogWarning(
"Can this buffer type be a shader output?");
72 LogWarning(
"Buffer usage is not DYNAMIC_UPDATE.");
77 if (numActiveBytes > 0)
102 if (numActiveBytes > 0)
127 if (numActiveBytes > 0)
void APIENTRY glDeleteBuffers(GLsizei n, const GLuint *buffers)
unsigned int GetOffset() const
#define GL_SHADER_STORAGE_BUFFER
#define LogInformation(message)
bool PreparedForCopy(GLenum access) const
void APIENTRY glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void *data)
Buffer * GetBuffer() const
unsigned int GetElementSize() const
virtual bool CopyCpuToGpu()
void APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage)
GLsizei GLsizei GLchar * source
void APIENTRY glGenBuffers(GLsizei n, GLuint *buffers)
GL4Buffer(Buffer const *buffer, GLenum type)
#define LogWarning(message)
char const * GetData() const
void APIENTRY glBindBuffer(GLenum target, GLuint buffer)
GLsizeiptr const void GLenum usage
void APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data)
unsigned int GetNumActiveBytes() const
GLint GLint GLsizei GLint GLenum GLenum type
virtual bool CopyGpuToCpu()
virtual void Initialize()