WGPU::Surface
Inherits WGPU::WgpuId / Reference / Object
Constructors
Instance methods
descriptor
Sourcepreferred_format(adapter : Adapter) : Future::Compute(TextureFormat)
Asynchronously retreive the preferred TextureFormat for this Surface.
See Also: Future::Compute
preferred_format
Lazy getter to retreive the preferred TextureFormat for this Surface.
Call preferred_format(adapter : Adapter) first.
See Also: Future::Compute