Vulkan2D
2D renderer written in C using Vulkan and SDL2
|
Push buffer for user shaders. More...
#include <Structs.h>
Data Fields | |
int32_t | cameraIndex |
Index of the camera in use. | |
uint32_t | textureIndex |
Index of the texture that was passed to the shader. | |
vec2 | _padding |
For vec4 alignment. | |
vec4 | texturePos |
UV coordinates (unnormalized) | |
vec4 | colour |
Colour mod of the renderer when called. | |
mat4 | model |
Model matrix. | |
Push buffer for user shaders.