コード例 #1
0
GLuint Renderbuffer::getStencilSize() const
{
    if (gl::GetStencilBits(getInternalFormat(), mRenderer->getCurrentClientVersion()) > 0)
    {
        return gl::GetStencilBits(getActualFormat(), mRenderer->getCurrentClientVersion());
    }
    else
    {
        return 0;
    }
}
コード例 #2
0
ファイル: Renderbuffer.cpp プロジェクト: Jar-win/Waterfox
GLuint Renderbuffer::getDepthSize() const
{
    return GetInternalFormatInfo(getActualFormat()).depthBits;
}
コード例 #3
0
ファイル: Renderbuffer.cpp プロジェクト: Jar-win/Waterfox
GLuint Renderbuffer::getAlphaSize() const
{
    return GetInternalFormatInfo(getActualFormat()).alphaBits;
}
コード例 #4
0
ファイル: Renderbuffer.cpp プロジェクト: Jar-win/Waterfox
GLuint Renderbuffer::getBlueSize() const
{
    return GetInternalFormatInfo(getActualFormat()).blueBits;
}
コード例 #5
0
ファイル: Renderbuffer.cpp プロジェクト: Jar-win/Waterfox
GLuint Renderbuffer::getGreenSize() const
{
    return GetInternalFormatInfo(getActualFormat()).greenBits;
}
コード例 #6
0
ファイル: Renderbuffer.cpp プロジェクト: Jar-win/Waterfox
GLuint Renderbuffer::getRedSize() const
{
    return GetInternalFormatInfo(getActualFormat()).redBits;
}
コード例 #7
0
ファイル: Renderbuffer.cpp プロジェクト: Jar-win/Waterfox
GLuint Renderbuffer::getStencilSize() const
{
    return GetInternalFormatInfo(getActualFormat()).stencilBits;
}
コード例 #8
0
GLenum Renderbuffer::getColorEncoding() const
{
    return gl::GetColorEncoding(getActualFormat(), mRenderer->getCurrentClientVersion());
}
コード例 #9
0
GLenum Renderbuffer::getComponentType() const
{
    return gl::GetComponentType(getActualFormat(), mRenderer->getCurrentClientVersion());
}
コード例 #10
0
GLenum FramebufferAttachment::getColorEncoding() const
{
    return GetInternalFormatInfo(getActualFormat()).colorEncoding;
}
コード例 #11
0
GLenum FramebufferAttachment::getComponentType() const
{
    return GetInternalFormatInfo(getActualFormat()).componentType;
}
コード例 #12
0
GLuint FramebufferAttachment::getStencilSize() const
{
    return (GetInternalFormatInfo(getInternalFormat()).stencilBits > 0) ? GetInternalFormatInfo(getActualFormat()).stencilBits : 0;
}
コード例 #13
0
GLuint FramebufferAttachment::getDepthSize() const
{
    return (GetInternalFormatInfo(getInternalFormat()).depthBits > 0) ? GetInternalFormatInfo(getActualFormat()).depthBits : 0;
}
コード例 #14
0
GLuint FramebufferAttachment::getGreenSize() const
{
    return (GetInternalFormatInfo(getInternalFormat()).greenBits > 0) ? GetInternalFormatInfo(getActualFormat()).greenBits : 0;
}
コード例 #15
0
GLuint FramebufferAttachment::getStencilSize() const
{
    return gl::GetStencilBits(getActualFormat(), mRenderer->getCurrentClientVersion());
}