Lines Matching defs:RenderBuffer
30 struct RenderBuffer { struct
35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): in RenderBuffer() function
41 ~RenderBuffer() { in ~RenderBuffer() argument
50 GLuint getName() const { in getName()
57 GLenum getFormat() const { in getFormat()
64 void bind() const { in bind()
72 bool isAllocated() const { in isAllocated()
80 void allocate() { in allocate()
92 void resize(uint32_t width, uint32_t height) { in resize()
104 uint32_t getWidth() const { in getWidth()
111 uint32_t getHeight() const { in getHeight()
118 uint32_t getSize() const { in getSize()
127 static uint32_t formatSize(GLenum format) { in formatSize()
147 static bool isStencilBuffer(GLenum format) { in isStencilBuffer()
160 static const char* formatName(GLenum format) { in formatName()
189 }; // struct RenderBuffer argument