| 14 | const uint32 CBufferRegister = 12; |
| 15 | |
| 16 | void Initialize() |
| 17 | { |
| 18 | |
| 19 | Settings.Initialize(1); |
| 20 | |
| 21 | Settings.AddGroup("Debug", true); |
| 22 | |
| 23 | EnableVSync.Initialize("EnableVSync", "Debug", "Enable VSync", "Enables or disables vertical sync during Present", true); |
| 24 | Settings.AddSetting(&EnableVSync); |
| 25 | |
| 26 | ConstantBufferInit cbInit; |
| 27 | cbInit.Size = sizeof(AppSettingsCBuffer); |
| 28 | cbInit.Dynamic = true; |
| 29 | cbInit.Name = L"AppSettings Constant Buffer"; |
| 30 | CBuffer.Initialize(cbInit); |
| 31 | } |
| 32 | |
| 33 | void Update(uint32 displayWidth, uint32 displayHeight, const Float4x4& viewMatrix) |
| 34 | { |
nothing calls this directly
no test coverage detected