package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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 request_adapter_info : t -> unmask_hints:Jstr.t list -> Info.t Fut.or_error

request_adapter_info a ~unmask_hints requests the adapter info of a.