class WGPU::Adapter
- WGPU::Adapter
- WGPU::WgpuId
- Reference
- Object
Defined in:
wgpu.crClass Method Summary
-
.request(compatible_surface : Surface | Nil = nil) : Future::Compute(Adapter)
Asynchronously request a graphics Adapter.
Instance Method Summary
-
#info
DEPRECATED Since wgpu-native
0.7
, useAdapter.properties
. - #is_ready?
- #properties
Instance methods inherited from class WGPU::WgpuId
finalize
finalize,
id : Pointer(Void)
id,
is_valid?
is_valid?,
to_unsafe : Pointer(Void)
to_unsafe
Class Method Detail
Asynchronously request a graphics Adapter.
Optionally, a Surface
may be provided such that a compatible Adapter is selected.
See Also: Future::Compute