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

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

The newest version!
FSHo><?#include 
#include 

using namespace metal;

struct xlatMtlMain_out
{
    float4 bgfx_FragData0 [[color(0)]];
};

struct xlatMtlMain_in
{
    float2 v_texcoord0 [[user(locn0)]];
};

fragment xlatMtlMain_out xlatMtlMain(xlatMtlMain_in in [[stage_in]], texture2d s_texColor [[texture(0)]], sampler s_texColorSampler [[sampler(0)]])
{
    xlatMtlMain_out out = {};
    out.bgfx_FragData0 = s_texColor.sample(s_texColorSampler, in.v_texcoord0);
    return out;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy