mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
initial sprite batch implementation & testbed
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user