Vulkan2D
2D renderer written in C using Vulkan and SDL2
|
Startup options that dictate some basic VK2D stuff. More...
#include <Structs.h>
Data Fields | |
bool | enableDebug |
Enables Vulkan compatibility layers. | |
bool | stdoutLogging |
Print VK2D information to stdout. | |
bool | quitOnError |
Crash the program when an error occurs. | |
const char * | errorFile |
The file to output errors to, or NULL to disable file output. | |
uint32_t | maxTextures |
Max number of textures active at once. | |
uint64_t | vramPageSize |
Startup options that dictate some basic VK2D stuff.
uint64_t VK2DStartupOptions::vramPageSize |
Determines the size of a video-memory page in bytes. This can cap the max uniform buffer size for shaders, max instances in one instanced call, and max vertices in a single geometry render. You may leave this as 0, in which case the renderer will make it 256kb.