package brr

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

Module Gl.AttrsSource

Context attributes.

Sourcemodule Power_preference : sig ... end

Power preference enumeration.

Sourcetype t
Sourceval v : ?alpha:bool -> ?depth:bool -> ?stencil:bool -> ?antialias:bool -> ?premultiplied_alpha:bool -> ?preserve_drawing_buffer:bool -> ?power_preference:Power_preference.t -> ?fail_if_major_performance_caveat:bool -> ?desynchronized:bool -> unit -> t

v () are WebGL context attributes with the given properties and defaults.

Sourceval alpha : t -> bool
Sourceval depth : t -> bool
Sourceval stencil : t -> bool
Sourceval antialias : t -> bool
Sourceval premultiplied_alpha : t -> bool
Sourceval preserve_drawing_buffer : t -> bool
Sourceval power_preference : t -> Power_preference.t
Sourceval desynchronized : t -> bool