vrust 0.0.1

VRust game engine
#include <metal_stdlib>
#include <simd/simd.h>
typedef enum BufferIndices {
    kBufferIndexMeshPositions = 0,
    kBufferIndexUniforms      = 1
} BufferIndices;
typedef enum VertexAttributes {
    kVertexAttributePosition  = 0,
} VertexAttributes;
typedef struct {
    matrix_float4x4 mvp;
} Uniforms;
using namespace metal;
typedef struct {
    float3 position [[attribute(kVertexAttributePosition)]];
} Vertex;
typedef struct {
    float4 position [[position]];
} VertexInOut;
fragment float4 main_fragment_func(
        VertexInOut in [[stage_in]],
        constant Uniforms & uniforms [[buffer(kBufferIndexUniforms)]]) {
    return float4(1.0);
}