UNPKG

gpu-curtains

Version:

gpu-curtains is a 3D WebGPU rendering engine. It can be used as a standalone 3D engine, but also includes extra classes focused on mapping 3d objects to DOM elements; It allows users to synchronize values such as position, sizing, or scale between them.

10 lines (8 loc) 171 B
const getDefaultFragmentCode = ( /* wgsl */ ` @fragment fn main() -> @location(0) vec4f { return vec4(0.0, 0.0, 0.0, 1.0); }` ); export { getDefaultFragmentCode };