package brr

  1. Overview
  2. Docs

Module Gpu.AdapterSource

Adapters.

Sourcemodule Info : sig ... end

Adapter info

Sourcetype t

The type for GPUAdapter objects.

Sourceval has_feature : t -> Feature_name.t -> bool

has_feature a n is true iff n is a features of a.

Sourceval limits : t -> Supported_limits.t

limits a are the limits of a.

Sourceval is_fallback_adapter : t -> bool

is_fallback_adapter a indicates if a is a fallback adapter.

Sourceval request_device : ?descriptor:Device.Descriptor.t -> t -> Device.t Fut.or_error

request_device a requests the device of a.

Sourceval info : t -> Info.t

info a is the adapter info of a.