Vulkan2D
2D renderer written in C using Vulkan and SDL2
VK2DShadowsPushBuffer Struct Reference

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.
 

Detailed Description

Push buffer used for hardware-accelerated shadows.


The documentation for this struct was generated from the following file: