UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

10 lines (8 loc) 174 B
var wgslStreamOutput = ` fn write{funcName}(value: {returnType}) { #if {defineGuard} processOutput.{colorSlot} = value; #endif } `; export { wgslStreamOutput as default };