format property

GPUTextureFormat get format

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

This is set via the format property in the descriptor object passed into the originating GPUDevice.createTexture call.

Implementation

external GPUTextureFormat get format;