The format read-only property of the GPUTexture interface represents the format of the GPUTexture.
format
MDN Reference