Vulkan2D
2D renderer written in C using Vulkan and SDL2
|
Represents the data you need for each element in an instanced draw. More...
#include <Structs.h>
Data Fields | |
vec4 | texturePos |
x in tex, y in tex, w in tex, and h in tex | |
vec4 | colour |
Colour mod of this draw. | |
uint32_t | textureIndex |
Which texture this instance is using. | |
vec3 | padding |
Padding. | |
mat4 | model |
Model for this instance, generally shouldn't contain translations. | |
Represents the data you need for each element in an instanced draw.