- doTextureCalls<T>(t, gpuTexture, viewDescriptor, textureType, sampler, calls, shortShaderStage): Promise<{
results: PerTexelComponent<number>[];
runner: {
run: ((gpuTexture) => Promise<PerTexelComponent<number>[]>);
destroy() => void;
};
}> Parameters
gpuTexture: GPUExternalTexture | GPUTexture
viewDescriptor: GPUTextureViewDescriptor
textureType: string
sampler: undefined | GPUSamplerDescriptor
shortShaderStage: "v" | "f" | "c"
Returns Promise<{
results: PerTexelComponent<number>[];
runner: {
run: ((gpuTexture) => Promise<PerTexelComponent<number>[]>);
destroy() => void;
};
}>