MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / CubeMapPaths

Function CubeMapPaths

BakingLab/AppSettings.h:431–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429 const uint64 NumCubeMaps = uint64(SkyModes::NumValues) - CubeMapStart;
430
431 inline const wchar* CubeMapPaths(uint64 idx)
432 {
433 Assert_(idx < NumCubeMaps);
434
435 const wchar* Paths[] =
436 {
437 L"..\\Content\\EnvMaps\\Ennis.dds",
438 L"..\\Content\\EnvMaps\\GraceCathedral.dds",
439 L"..\\Content\\EnvMaps\\Uffizi.dds",
440 };
441 StaticAssert_(ArraySize_(Paths) == NumCubeMaps);
442
443 return Paths[idx];
444 }
445
446 Float3 SunLuminance();
447 Float3 SunIlluminance();

Callers 1

InitializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected