Spaces:
Running
Running
// constants.js | |
export const COLORS = [ | |
[1, 1, 0, 1], | |
[0, 1, 1, 1], | |
[1, 0, 1, 1], | |
[1, 0, 0, 1], | |
[0, 0.5, 1, 1] | |
]; | |
export const RENDER_PASS_DESCRIPTOR = { | |
label: 'canvas render pass', | |
colorAttachments: [{ | |
clearValue: [0.3, 0.3, 0.3, 1], | |
loadOp: 'clear', | |
storeOp: 'store', | |
}], | |
}; | |