Module Encoder.Descriptor

Descriptors.

type t

The type for GPURenderBundleEncoderDescriptor objects.

val v : ?label:Jstr.t -> ?color_formats:Texture.Format.t list -> ?depth_stencil_format:Texture.Format.t -> ?sample_count:int -> ?depth_read_only:bool -> ?stencil_read_only:bool -> unit -> t

v constructs a GPURenderBundleEncoderDescriptor object with given parameters.