mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 05:10:57 +00:00
initial chunk render caching
This commit is contained in:
@ -26,13 +26,14 @@ typedef NS_ENUM(NSInteger, VertexShaderInputIdx) {
|
||||
typedef struct {
|
||||
vector_float3 position;
|
||||
vector_float3 normal;
|
||||
color_half4 color;
|
||||
vector_float2 texCoord;
|
||||
} ShaderVertex;
|
||||
|
||||
typedef struct {
|
||||
matrix_float4x4 model;
|
||||
matrix_float4x4 normalModel;
|
||||
color_half4 color;
|
||||
color_half4 color;
|
||||
} VertexShaderInstance;
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user