MCPcopy Create free account
hub / github.com/assimp/assimp / ToggleTransparency

Function ToggleTransparency

tools/assimp_view/MessageProc.cpp:267–270  ·  view source on GitHub ↗

------------------------------------------------------------------------------- Toggle the "NoTransparency" state -------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

265// Toggle the "NoTransparency" state
266//-------------------------------------------------------------------------------
267void ToggleTransparency() {
268 g_sOptions.bNoAlphaBlending = !g_sOptions.bNoAlphaBlending;
269 storeRegKey(g_sOptions.bNoAlphaBlending, "NoTransparency");
270}
271
272//-------------------------------------------------------------------------------
273// Toggle the "LowQuality" state

Callers 2

MessageProcFunction · 0.85
_tWinMainFunction · 0.85

Calls 1

storeRegKeyFunction · 0.85

Tested by

no test coverage detected