Various improvements
This commit is contained in:
parent
488494634d
commit
abf3803cdc
15 changed files with 283 additions and 250 deletions
|
|
@ -20,12 +20,9 @@ export class ResizableTexture {
|
|||
|
||||
const newTexture = this.device.createTexture({
|
||||
format: 'rgba16float',
|
||||
dimension: '2d',
|
||||
mipLevelCount: 1,
|
||||
size: {
|
||||
width: size.x,
|
||||
height: size.y,
|
||||
depthOrArrayLayers: 1,
|
||||
},
|
||||
usage:
|
||||
GPUTextureUsage.STORAGE_BINDING |
|
||||
|
|
|
|||
Loading…
Reference in a new issue