namespace Brutal.VulkanApi { /// /// VkLatencyMarkerNV - Structure used to mark different points in latency /// /// /// /// The VkLatencyMarkerNV enum is defined as: /// /// /// // Provided by VK_NV_low_latency2 /// typedef enum VkLatencyMarkerNV { /// VK_LATENCY_MARKER_SIMULATION_START_NV = 0, /// VK_LATENCY_MARKER_SIMULATION_END_NV = 1, /// VK_LATENCY_MARKER_RENDERSUBMIT_START_NV = 2, /// VK_LATENCY_MARKER_RENDERSUBMIT_END_NV = 3, /// VK_LATENCY_MARKER_PRESENT_START_NV = 4, /// VK_LATENCY_MARKER_PRESENT_END_NV = 5, /// VK_LATENCY_MARKER_INPUT_SAMPLE_NV = 6, /// VK_LATENCY_MARKER_TRIGGER_FLASH_NV = 7, /// VK_LATENCY_MARKER_OUT_OF_BAND_RENDERSUBMIT_START_NV = 8, /// VK_LATENCY_MARKER_OUT_OF_BAND_RENDERSUBMIT_END_NV = 9, /// VK_LATENCY_MARKER_OUT_OF_BAND_PRESENT_START_NV = 10, /// VK_LATENCY_MARKER_OUT_OF_BAND_PRESENT_END_NV = 11, /// } VkLatencyMarkerNV; /// /// public enum VkLatencyMarkerNV : int { /// /// SimulationStartNV should be called at the start of the simulation execution each frame, but after the call to vkLatencySleepNV. /// SimulationStartNV = 0, /// /// SimulationEndNV should be called at the end of the simulation execution each frame. /// SimulationEndNV = 1, /// /// RendersubmitStartNV should be called at the beginning of the render submission execution each frame. This should be wherever Vulkan API calls are made and must not span into asynchronous rendering. /// RendersubmitStartNV = 2, /// /// RendersubmitEndNV should be called at the end of the render submission execution each frame. /// RendersubmitEndNV = 3, /// /// PresentStartNV should be called just before vkQueuePresentKHR. /// PresentStartNV = 4, /// /// PresentEndNV should be called when vkQueuePresentKHR returns. /// PresentEndNV = 5, /// /// InputSampleNV should be called just before the application gathers input data. /// InputSampleNV = 6, /// /// TriggerFlashNV should be called anywhere between VK_LATENCY_MARKER_SIMULATION_START_NV and VK_LATENCY_MARKER_SIMULATION_END_NV whenever a left mouse click occurs. /// TriggerFlashNV = 7, /// /// OutOfBandRendersubmitStartNV /// OutOfBandRendersubmitStartNV = 8, /// /// OutOfBandRendersubmitEndNV /// OutOfBandRendersubmitEndNV = 9, /// /// OutOfBandPresentStartNV /// OutOfBandPresentStartNV = 10, /// /// OutOfBandPresentEndNV /// OutOfBandPresentEndNV = 11, /// /// MaxEnumNV /// MaxEnumNV = 0x7FFFFFFF, } }