Varjo SDK Examples

Benchmark Example

A second example can be found under \varjo-sdk\examples \Benchmark\src and you can open the project by running \varjo-sdk\examples\vs2017-x64\VarjoExamples.sln

This application renders several donuts and a background grid to stress test the Varjo API. 

Use main.cpp as a starting point. It contains the main rendering loop and all the frame logic that is not related to graphics. 

To learn about the renderer, check the IRenderer.hpp file. Implementation can be found from D3D11Renderer.hpp and GLRenderer.hpp depending on the rendering engine.