const getWireframeIndirect: (
device: GPUDevice,
getVertex: ShaderModule,
indirect: StorageSource,
topology: string,
) => {
getVertex: ParsedBundle,
wireframeCommand: ParsedBundle,
wireframeIndirect: StorageSource,
}
Produce an indirect wireframe vertex shader for a given solid vertex shader + indirect draw call.
packages / workbench / src / render / wireframe.ts