UNPKG

typegpu

Version:

A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.

5 lines (4 loc) 334 B
import { type BaseData } from '../../data/wgslTypes.ts'; import type { ColorAttachment } from '../commandEncoder/attachments.ts'; import type { AnyFragmentColorAttachment } from './renderPipeline.ts'; export declare function connectAttachmentToShader(fragmentOut: BaseData, attachment: AnyFragmentColorAttachment): ColorAttachment[];