MCPcopy Create free account
hub / github.com/baldurk/renderdoc / IsSIntFormat

Function IsSIntFormat

renderdoc/driver/gl/gl_resources.cpp:1648–1668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1646}
1647
1648bool IsSIntFormat(GLenum internalFormat)
1649{
1650 switch(internalFormat)
1651 {
1652 case eGL_R8I:
1653 case eGL_RG8I:
1654 case eGL_RGB8I:
1655 case eGL_RGBA8I:
1656 case eGL_R16I:
1657 case eGL_RG16I:
1658 case eGL_RGB16I:
1659 case eGL_RGBA16I:
1660 case eGL_R32I:
1661 case eGL_RG32I:
1662 case eGL_RGB32I:
1663 case eGL_RGBA32I: return true;
1664 default: break;
1665 }
1666
1667 return false;
1668}
1669
1670bool IsSRGBFormat(GLenum internalFormat)
1671{

Callers 7

GetTextureCompleteStatusFunction · 0.70
getTextureFormatTypeFunction · 0.70
GetTextureDataMethod · 0.70
RenderTextureInternalMethod · 0.70
PickPixelMethod · 0.70
_glGetTexImageFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected