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

Function IsUIntFormat

renderdoc/driver/gl/gl_resources.cpp:1625–1646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1623}
1624
1625bool IsUIntFormat(GLenum internalFormat)
1626{
1627 switch(internalFormat)
1628 {
1629 case eGL_R8UI:
1630 case eGL_RG8UI:
1631 case eGL_RGB8UI:
1632 case eGL_RGBA8UI:
1633 case eGL_R16UI:
1634 case eGL_RG16UI:
1635 case eGL_RGB16UI:
1636 case eGL_RGBA16UI:
1637 case eGL_R32UI:
1638 case eGL_RG32UI:
1639 case eGL_RGB32UI:
1640 case eGL_RGBA32UI:
1641 case eGL_RGB10_A2UI: return true;
1642 default: break;
1643 }
1644
1645 return false;
1646}
1647
1648bool IsSIntFormat(GLenum internalFormat)
1649{

Callers 6

GetTextureCompleteStatusFunction · 0.70
getTextureFormatTypeFunction · 0.70
GetTextureDataMethod · 0.70
RenderTextureInternalMethod · 0.70
PickPixelMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected