JavaScript
0
Вклад в тег
device.createRenderPipeline
({
layout,
vertex,
fragment:
{
module: shaderModule,
entryPoint: 'fs',
targets:
[{
format,
blend:
{
alpha: { dstFactor: 'one-minus-src-alpha' },
color: { dstFactor: 'one-minus-src-alpha' }
}
}]
}
})