Module Shader_module.Descriptor

Descriptors.

type t

The type for GPUShaderModuleDescriptor objects.

val v : ?label:Jstr.t -> ?source_map:Jv.t -> ?hints:(Jstr.t * Compilation_hint.t) list -> code:Jstr.t -> unit -> t

v constructs a GPUShaderModuleDescriptor object with given parameters.