initial sprite batch implementation & testbed

This commit is contained in:
2024-09-13 18:59:14 +10:00
parent c0de651947
commit 79013c24c4
13 changed files with 732 additions and 29 deletions

View File

@ -45,4 +45,16 @@ typedef struct {
float specularIntensity;
} FragmentShaderUniforms;
#pragma mark - UI & 2D Shader
typedef struct {
vector_float2 position;
vector_float2 texCoord;
vector_float4 color;
} Vertex2D;
typedef struct {
matrix_float4x4 projection;
} Shader2DUniforms;
#endif//SHADERTYPES_H