Vulkan2D
2D renderer written in C using Vulkan and SDL2
|
Push buffer used for hardware-accelerated shadows. More...
#include <Structs.h>
Data Fields | |
mat4 | model |
Model matrix for this shadow object. | |
vec2 | lightSource |
Light source position. | |
vec2 | _alignment |
Simply for memory alignment. | |
vec4 | colour |
Colour of this shadow render. | |
uint32_t | cameraIndex |
Index of the camera. | |
Push buffer used for hardware-accelerated shadows.