shaders.metal.fs_shape.bin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glx Show documentation
Show all versions of glx Show documentation
UI harness for the LX framework based upon LWJGL + bgfx.
The newest version!
FSH u_fillColor g #include
#include
using namespace metal;
struct _Global
{
float4 u_fillColor;
};
struct xlatMtlMain_out
{
float4 bgfx_FragData0 [[color(0)]];
};
fragment xlatMtlMain_out xlatMtlMain(constant _Global& _mtl_u [[buffer(0)]])
{
xlatMtlMain_out out = {};
out.bgfx_FragData0 = _mtl_u.u_fillColor;
return out;
}