BYTES_PER_PIXEL

import { BYTES_PER_PIXEL } from "jsr:@ende/webgpu";

variable

const BYTES_PER_PIXEL: 4

Number of bytes per pixel.

Source