Define the storage texture parameters used in the compute shader.

interface ComputeStorageTextureParams {
    name?: string;
    format?: GPUTextureFormat;
}

Properties

Properties

name?: string

Name of the storage texture used in the compute shader. Default to storageRenderTexture.

format?: GPUTextureFormat

Format of the storage texture used in the compute shader, must be compatible with storage textures. Default to rgba8unorm.