50 lines
986 B
JSON
50 lines
986 B
JSON
|
{
|
||
|
"entryPoints" : [
|
||
|
{
|
||
|
"name" : "main",
|
||
|
"mode" : "frag"
|
||
|
}
|
||
|
],
|
||
|
"inputs" : [
|
||
|
{
|
||
|
"type" : "vec2",
|
||
|
"name" : "vTex",
|
||
|
"location" : 0
|
||
|
}
|
||
|
],
|
||
|
"outputs" : [
|
||
|
{
|
||
|
"type" : "vec4",
|
||
|
"name" : "FragColor",
|
||
|
"location" : 0
|
||
|
}
|
||
|
],
|
||
|
"separate_images" : [
|
||
|
{
|
||
|
"type" : "texture2D",
|
||
|
"name" : "uTexture0",
|
||
|
"set" : 0,
|
||
|
"binding" : 2
|
||
|
},
|
||
|
{
|
||
|
"type" : "texture2D",
|
||
|
"name" : "uTexture1",
|
||
|
"set" : 0,
|
||
|
"binding" : 3
|
||
|
}
|
||
|
],
|
||
|
"separate_samplers" : [
|
||
|
{
|
||
|
"type" : "sampler",
|
||
|
"name" : "uSampler0",
|
||
|
"set" : 0,
|
||
|
"binding" : 0
|
||
|
},
|
||
|
{
|
||
|
"type" : "sampler",
|
||
|
"name" : "uSampler1",
|
||
|
"set" : 0,
|
||
|
"binding" : 1
|
||
|
}
|
||
|
]
|
||
|
}
|