MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / Uninitialize

Method Uninitialize

src/Nazara/Utility/PixelFormat.cpp:1669–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1667 }
1668
1669 void PixelFormat::Uninitialize()
1670 {
1671 for (unsigned int i = 0; i <= PixelFormatType_Max; ++i)
1672 s_pixelFormatInfos[i].Clear();
1673
1674 std::memset(s_convertFunctions, 0, (PixelFormatType_Max+1)*(PixelFormatType_Max+1)*sizeof(PixelFormat::ConvertFunction));
1675
1676 for (unsigned int i = 0; i <= PixelFlipping_Max; ++i)
1677 s_flipFunctions[i].clear();
1678 }
1679
1680 PixelFormatInfo PixelFormat::s_pixelFormatInfos[PixelFormatType_Max + 1];
1681 PixelFormat::ConvertFunction PixelFormat::s_convertFunctions[PixelFormatType_Max+1][PixelFormatType_Max+1];

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected