|
coastline 0.0.4
|
#include <filesystem>#include <functional>#include <future>#include <memory>#include <optional>#include <string>#include <unordered_map>#include <vector>#include <SDL3/SDL.h>

Go to the source code of this file.
Classes | |
| struct | coastline::DisplayOptions |
| The options of the window and the GPU device. More... | |
| class | coastline::GpuWindow |
| The window of the game and the GPU device that draws into it. More... | |
Namespaces | |
| namespace | coastline |
Enumerations | |
| enum class | coastline::ScaleFilter { coastline::Linear , coastline::Nearest , coastline::EdgeAdaptive } |
| How the frame is scaled to the window. More... | |
| enum class | coastline::TextureFilter { coastline::N64 , coastline::Modern , coastline::Nearest } |
| How the textures the game filters are filtered. More... | |
| enum class | coastline::PostAntialias { coastline::None , coastline::Fxaa } |
| The anti-aliasing of the finished frame, before it is scaled to the window. More... | |
| enum class | coastline::ScreenShader { coastline::None , coastline::ConsumerCrt , coastline::Pvm , coastline::ApertureGrille , coastline::PcCrt } |
| Display simulation applied after the internal frame is scaled to the window. More... | |
| enum class | coastline::HdrOutput { coastline::Auto , coastline::On , coastline::Off } |
| Whether HDR output follows the window, is requested, or is disabled. More... | |
Functions | |
| SDL_GPUTexture * | coastline::CreateGpuTexture (SDL_GPUDevice *device, const SDL_GPUTextureCreateInfo *info) |
| SDL_CreateGPUTexture(), recording bytes of every level and sample in GpuWindow::GpuMemoryBytes(). | |
| SDL_GPUBuffer * | coastline::CreateGpuBuffer (SDL_GPUDevice *device, const SDL_GPUBufferCreateInfo *info) |
| SDL_CreateGPUBuffer(), recording its size in GpuWindow::GpuMemoryBytes(). | |
| SDL_GPUTransferBuffer * | coastline::CreateGpuTransferBuffer (SDL_GPUDevice *device, const SDL_GPUTransferBufferCreateInfo *info) |
| SDL_CreateGPUTransferBuffer(), recording its size in GpuWindow::GpuMemoryBytes(). | |
| void | coastline::ReleaseGpuTexture (SDL_GPUDevice *device, SDL_GPUTexture *texture) |
| SDL_ReleaseGPUTexture(), subtracting its bytes from GpuWindow::GpuMemoryBytes(). | |
| void | coastline::ReleaseGpuBuffer (SDL_GPUDevice *device, SDL_GPUBuffer *buffer) |
| SDL_ReleaseGPUBuffer(), subtracting its bytes from GpuWindow::GpuMemoryBytes(). | |
| void | coastline::ReleaseGpuTransferBuffer (SDL_GPUDevice *device, SDL_GPUTransferBuffer *buffer) |
| SDL_ReleaseGPUTransferBuffer(), subtracting its bytes from GpuWindow::GpuMemoryBytes(). | |