kit 0.0.2

An small game engine for 3D games.
Documentation
1
2
3
4
5
6
7
8
9
10
#include <metal_stdlib>
using namespace metal;
struct fs_in {
    float2 uv;
};
fragment float4 _main(fs_in in [[stage_in]],
   texture2d<float> tex [[texture(0)]],
   sampler smp [[sampler(0)]]) {
    return tex.sample(smp, in.uv).xyzw;
};