GLuint Renderbuffer::getStencilSize() const { if (gl::GetStencilBits(getInternalFormat(), mRenderer->getCurrentClientVersion()) > 0) { return gl::GetStencilBits(getActualFormat(), mRenderer->getCurrentClientVersion()); } else { return 0; } }
GLuint Renderbuffer::getDepthSize() const { return GetInternalFormatInfo(getActualFormat()).depthBits; }
GLuint Renderbuffer::getAlphaSize() const { return GetInternalFormatInfo(getActualFormat()).alphaBits; }
GLuint Renderbuffer::getBlueSize() const { return GetInternalFormatInfo(getActualFormat()).blueBits; }
GLuint Renderbuffer::getGreenSize() const { return GetInternalFormatInfo(getActualFormat()).greenBits; }
GLuint Renderbuffer::getRedSize() const { return GetInternalFormatInfo(getActualFormat()).redBits; }
GLuint Renderbuffer::getStencilSize() const { return GetInternalFormatInfo(getActualFormat()).stencilBits; }
GLenum Renderbuffer::getColorEncoding() const { return gl::GetColorEncoding(getActualFormat(), mRenderer->getCurrentClientVersion()); }
GLenum Renderbuffer::getComponentType() const { return gl::GetComponentType(getActualFormat(), mRenderer->getCurrentClientVersion()); }
GLenum FramebufferAttachment::getColorEncoding() const { return GetInternalFormatInfo(getActualFormat()).colorEncoding; }
GLenum FramebufferAttachment::getComponentType() const { return GetInternalFormatInfo(getActualFormat()).componentType; }
GLuint FramebufferAttachment::getStencilSize() const { return (GetInternalFormatInfo(getInternalFormat()).stencilBits > 0) ? GetInternalFormatInfo(getActualFormat()).stencilBits : 0; }
GLuint FramebufferAttachment::getDepthSize() const { return (GetInternalFormatInfo(getInternalFormat()).depthBits > 0) ? GetInternalFormatInfo(getActualFormat()).depthBits : 0; }
GLuint FramebufferAttachment::getGreenSize() const { return (GetInternalFormatInfo(getInternalFormat()).greenBits > 0) ? GetInternalFormatInfo(getActualFormat()).greenBits : 0; }
GLuint FramebufferAttachment::getStencilSize() const { return gl::GetStencilBits(getActualFormat(), mRenderer->getCurrentClientVersion()); }