|
coastline 0.0.4
|
The options of the window and the GPU device. More...
#include <gpu.h>

Public Attributes | |
| bool | n64Effects = false |
| bool | n64WindowReflections = false |
| bool | wideMenus = false |
| bool | autoWideMenus = false |
| float | fieldOfViewScale = 1.0f |
| float | drawDistanceScale = 1.0f |
| std::string | gpuPreference = "auto" |
| HdrOutput | hdrOutput = HdrOutput::Auto |
| bool | unlockedFramerate |
| int | width = 1280 |
| int | height = 720 |
| int | frameWidth = 0 |
| int | frameHeight = 0 |
| float | renderScale = 1.0f |
| The pixels of the frame for each pixel of the window, when the frame follows the window. | |
| ScaleFilter | scaleFilter = ScaleFilter::Linear |
| PostAntialias | postAntialias = PostAntialias::None |
| ScreenShader | screenShader = ScreenShader::None |
| bool | fixedFrame = false |
| Whether the frame stays at the width and the height, for captures that are the same on every machine. | |
| bool | lowestFrame = false |
| Whether the frame expands from 320x240 to the selected aspect ratio. | |
| float | aspectRatio = 0.0f |
| The width over the height the frame keeps in a window and in the full screen, with bars around it, or 0 for the shape of the window. | |
| bool | gpuDebug = false |
| Whether the GPU device checks its use, with the validation layers of Vulkan when they are installed. | |
| bool | minimized = false |
| Whether the window starts minimized, for runs that save their frames unattended. | |
| bool | fullscreen = false |
| bool | exclusive = false |
| Whether the window covers the display in a mode of the width, the height, and the refresh rate, rather than at the desktop mode without borders. | |
| int | refreshRate = 0 |
| SDL_GPUPresentMode | presentMode = SDL_GPU_PRESENTMODE_VSYNC |
| How frames are presented, with the other mode that does not wait and then vertical sync taking the place of a mode the window does not support. | |
| bool | fifo = false |
| Whether vertical sync of a Wayland window waits for the vertical blank as on other systems, rather than presenting to the mailbox at the refresh rate of the display. | |
| int | antialias = 1 |
| int | anisotropy = 0 |
| The most samples of anisotropic filtering of the textures of models, which are then mipmapped, from 2 to 16, or 0 for neither. | |
| TextureFilter | textureFilter = TextureFilter::Modern |
| bool | alphaToCoverage = true |
| Whether the alpha of the texels a model cuts covers the samples of a multisampled pixel. | |
| std::optional< std::string > | driver |
The options of the window and the GPU device.
| bool coastline::DisplayOptions::n64Effects = false |
Console particle textures, opacity, and skid-mark visibility.
| bool coastline::DisplayOptions::n64WindowReflections = false |
Generate car reflection coordinates as the N64 RSP.
| bool coastline::DisplayOptions::wideMenus = false |
Fill wide frames with the menu background.
| bool coastline::DisplayOptions::autoWideMenus = false |
Fill menu backgrounds only for a 16:9 internal frame.
| float coastline::DisplayOptions::fieldOfViewScale = 1.0f |
Multiplier of the race camera's field of view.
| float coastline::DisplayOptions::drawDistanceScale = 1.0f |
Multiplier of the race view and mirror distances.
| std::string coastline::DisplayOptions::gpuPreference = "auto" |
Automatic, high-performance, or low-power selection.
| HdrOutput coastline::DisplayOptions::hdrOutput = HdrOutput::Auto |
Selection of HDR swapchain output.
| bool coastline::DisplayOptions::unlockedFramerate |
Disable presentation pacing and the software frame limit.
| int coastline::DisplayOptions::width = 1280 |
The width of the window and of the exclusive mode in pixels.
| int coastline::DisplayOptions::height = 720 |
The height of the window and of the exclusive mode in pixels.
| int coastline::DisplayOptions::frameWidth = 0 |
The minimum internal width, 0 to follow the window.
| int coastline::DisplayOptions::frameHeight = 0 |
The minimum internal height, 0 to follow the window.
| float coastline::DisplayOptions::renderScale = 1.0f |
The pixels of the frame for each pixel of the window, when the frame follows the window.
| ScaleFilter coastline::DisplayOptions::scaleFilter = ScaleFilter::Linear |
How the frame is scaled to the window.
| PostAntialias coastline::DisplayOptions::postAntialias = PostAntialias::None |
The anti-aliasing of the frame.
| ScreenShader coastline::DisplayOptions::screenShader = ScreenShader::None |
The display simulation after scaling.
| bool coastline::DisplayOptions::fixedFrame = false |
Whether the frame stays at the width and the height, for captures that are the same on every machine.
| bool coastline::DisplayOptions::lowestFrame = false |
Whether the frame expands from 320x240 to the selected aspect ratio.
| float coastline::DisplayOptions::aspectRatio = 0.0f |
The width over the height the frame keeps in a window and in the full screen, with bars around it, or 0 for the shape of the window.
| bool coastline::DisplayOptions::gpuDebug = false |
Whether the GPU device checks its use, with the validation layers of Vulkan when they are installed.
| bool coastline::DisplayOptions::minimized = false |
Whether the window starts minimized, for runs that save their frames unattended.
| bool coastline::DisplayOptions::fullscreen = false |
Whether the window covers the display.
| bool coastline::DisplayOptions::exclusive = false |
Whether the window covers the display in a mode of the width, the height, and the refresh rate, rather than at the desktop mode without borders.
| int coastline::DisplayOptions::refreshRate = 0 |
The refresh rate of the exclusive mode in hertz, 0 for the desktop.
| SDL_GPUPresentMode coastline::DisplayOptions::presentMode = SDL_GPU_PRESENTMODE_VSYNC |
How frames are presented, with the other mode that does not wait and then vertical sync taking the place of a mode the window does not support.
| bool coastline::DisplayOptions::fifo = false |
Whether vertical sync of a Wayland window waits for the vertical blank as on other systems, rather than presenting to the mailbox at the refresh rate of the display.
| int coastline::DisplayOptions::antialias = 1 |
The samples of each pixel: 1 for none, or 2, 4, or 8.
| int coastline::DisplayOptions::anisotropy = 0 |
The most samples of anisotropic filtering of the textures of models, which are then mipmapped, from 2 to 16, or 0 for neither.
| TextureFilter coastline::DisplayOptions::textureFilter = TextureFilter::Modern |
How textures are filtered.
| bool coastline::DisplayOptions::alphaToCoverage = true |
Whether the alpha of the texels a model cuts covers the samples of a multisampled pixel.
| std::optional<std::string> coastline::DisplayOptions::driver |
An SDL GPU driver, such as vulkan, metal, or direct3d12.