class WGPU::Adapter

Defined in:

wgpu.cr

Class Method Summary

Instance Method Summary

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

def self.request(compatible_surface : Surface? = nil) : Future::Compute(Adapter) #

Asynchronously request a graphics Adapter. Optionally, a Surface may be provided such that a compatible Adapter is selected.

See Also: Future::Compute


[View source]

Instance Method Detail

def info #

DEPRECATED Since wgpu-native 0.7, use Adapter.properties.


[View source]
def is_ready? #

[View source]
def properties #

[View source]