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

Function GetComponentString

qrenderdoc/Code/QRDUtils.cpp:1835–1849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1833}
1834
1835QString GetComponentString(byte mask)
1836{
1837 QString ret;
1838
1839 if((mask & 0x1) > 0)
1840 ret += lit("R");
1841 if((mask & 0x2) > 0)
1842 ret += lit("G");
1843 if((mask & 0x4) > 0)
1844 ret += lit("B");
1845 if((mask & 0x8) > 0)
1846 ret += lit("A");
1847
1848 return ret;
1849}
1850
1851QIcon MakeSwatchIcon(QWidget *parentWidget, QColor swatchColor)
1852{

Callers 1

debugShaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected