Go to the source code of this file.
|
| void | details::CreateSwapchain (SDL_Window *window, RHIDevice *device, RHIDeviceScopedHandle< RHISwapchain > &outSwap) |
| |
| auto | Examples_InitVulkan (SDL_Window *window, RendererDesc const &desc={}) |
| |
| bool | Examples_ShouldClose (SDL_Window *window, Renderer *renderer, RHIDeviceScopedHandle< RHISwapchain > &swap, SDL_Event *outEvent=nullptr) |
| |
| void | Examples_NewFrame (Renderer *renderer) |
| |
| auto | Examples_DestroyVulkan (SDL_Window *window, Renderer *renderer, VulkanApplication *app, RHIApplicationScopedHandle< RHIDevice > &device, RHIDeviceScopedHandle< RHISwapchain > &swapchain) |
| |
| float | Examples_GetTime () |
| |
◆ Examples_DestroyVulkan()
◆ Examples_GetTime()
| float Examples_GetTime |
( |
| ) |
|
|
inline |
◆ Examples_InitVulkan()
| auto Examples_InitVulkan |
( |
SDL_Window * |
window, |
|
|
RendererDesc const & |
desc = {} |
|
) |
| |
|
inline |
◆ Examples_NewFrame()
| void Examples_NewFrame |
( |
Renderer * |
renderer | ) |
|
|
inline |
◆ Examples_ShouldClose()
◆ Examples_SDLWindowFlagsVulkan
| constexpr int Examples_SDLWindowFlagsVulkan = SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY | SDL_WINDOW_VULKAN |
|
constexpr |
◆ kFormatPreferenceList
Initial value:= {
RHIResourceFormat::R8G8B8A8Unorm, RHIResourceFormat::B8G8R8A8Unrom, RHIResourceFormat::R8G8B8A8Srgb,
RHIResourceFormat::B8G8R8A8Srgb}
◆ kPresentModePreferenceList
Initial value:= {
RHISwapchainPresentMode::Mailbox, RHISwapchainPresentMode::Tearing, RHISwapchainPresentMode::Fifo}