|
Foundation
|
#include "Context.hpp"#include "PathUtil.hpp"#include <RHIVulkan/Application.hpp>#include <fstream>Functions | |
| static String | PipelineCachePathForDevice (RHIDevice const &device) |
| static Vector< unsigned char > | LoadPipelineCacheBytes (RHIApplication const &app, StringView path, Allocator *allocator) |
| static void | SavePipelineCache (FContext const &context) |
| static bool | WindowHDRStateEqual (FContext::WindowHDRState const &lhs, FContext::WindowHDRState const &rhs) |
| bool | UpdateWindowHDRState (FContext *context) |
| void | ResetEditorFrameScratch (FContext *context) |
| void | UpdateSwapchain (FContext *context) |
| FContext * | CreateContext (SDL_Window *window, Allocator *allocator, RHIDevice::DeviceDesc const &deviceDesc) |
| void | DestroyContext (FContext *context) |
Variables | |
| FContext * | GContext = nullptr |
| FContext * CreateContext | ( | SDL_Window * | window, |
| Allocator * | allocator, | ||
| RHIDevice::DeviceDesc const & | deviceDesc | ||
| ) |
| void DestroyContext | ( | FContext * | context | ) |
|
static |
| void ResetEditorFrameScratch | ( | FContext * | context | ) |
|
static |
| void UpdateSwapchain | ( | FContext * | context | ) |
| bool UpdateWindowHDRState | ( | FContext * | context | ) |
|
static |
| FContext* GContext = nullptr |