Searched defs:RenderBuffer (Results 1 – 1 of 1) sorted by relevance
30 struct RenderBuffer { struct35 RenderBuffer(GLenum format, uint32_t width, uint32_t height) in RenderBuffer() argument40 ~RenderBuffer() { in ~RenderBuffer() argument49 GLuint getName() const { return mName; } in getName()54 GLenum getFormat() const { return mFormat; } in getFormat()59 void bind() const { glBindRenderbuffer(GL_RENDERBUFFER, mName); } in bind()65 bool isAllocated() const { return mAllocated; } in isAllocated()71 void allocate() { in allocate()83 void resize(uint32_t width, uint32_t height) { in resize()95 uint32_t getWidth() const { return mWidth; } in getWidth()[all …]