static void Main(string[] args) { #if DEBUG Instance.VALIDATION = true; Instance.RENDER_DOC_CAPTURE = false; #endif SwapChain.PREFERED_FORMAT = VkFormat.B8g8r8a8Srgb; DeferredPbrRenderer.TEXTURE_ARRAY = true; DeferredPbrRenderer.NUM_SAMPLES = VkSampleCountFlags.SampleCount4; DeferredPbrRenderer.HDR_FORMAT = VkFormat.R32g32b32a32Sfloat; DeferredPbrRenderer.MRT_FORMAT = VkFormat.R32g32b32a32Sfloat; PbrModelTexArray.TEXTURE_DIM = 1024; using (Deferred vke = new Deferred()) { vke.Run(); } }