All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shaders.metal.vs_shape.bin Maven / Gradle / Ivy

The newest version!
VSHu_modelViewProj?#include 
#include 

using namespace metal;

struct _Global
{
    float4x4 u_modelViewProj;
};

struct xlatMtlMain_out
{
    float4 gl_Position [[position]];
};

struct xlatMtlMain_in
{
    float3 a_position [[attribute(0)]];
};

vertex xlatMtlMain_out xlatMtlMain(xlatMtlMain_in in [[stage_in]], constant _Global& _mtl_u [[buffer(0)]])
{
    xlatMtlMain_out out = {};
    out.gl_Position = _mtl_u.u_modelViewProj * float4(in.a_position, 1.0);
    return out;
}

@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy