{ "entryPoints" : [ { "name" : "main", "mode" : "frag" } ], "types" : { "_6" : { "name" : "type.LightBuffer", "members" : [ { "name" : "uDiffuseColor", "type" : "vec4", "offset" : 0 }, { "name" : "uLightDirection", "type" : "vec3", "offset" : 16 }, { "name" : "uLightColor", "type" : "vec4", "offset" : 32 } ] } }, "inputs" : [ { "type" : "vec2", "name" : "in.var.TEXCOORD0", "location" : 0 }, { "type" : "vec3", "name" : "in.var.NORMAL", "location" : 1 } ], "outputs" : [ { "type" : "vec4", "name" : "out.var.SV_TARGET", "location" : 0 } ], "separate_images" : [ { "type" : "texture2D", "name" : "uDiffuseTexture", "set" : 0, "binding" : 0 } ], "separate_samplers" : [ { "type" : "sampler", "name" : "samplerState", "set" : 0, "binding" : 0 } ], "ubos" : [ { "type" : "_6", "name" : "type.LightBuffer", "block_size" : 48, "set" : 1, "binding" : 2 } ] }