package js_of_ocaml-webgpu

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
class type js = object ... end
val create : ?label:Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> layout:Webgpu__.Api.GPUPipelineLayout.js Js_of_ocaml.Js.t -> vertexStage:Webgpu__.Api.GPUProgrammableStageDescriptor.js Js_of_ocaml.Js.t -> ?fragmentStage: Webgpu__.Api.GPUProgrammableStageDescriptor.js Js_of_ocaml.Js.t -> primitiveTopology:Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> ?rasterizationState: Webgpu__.Api.GPURasterizationStateDescriptor.js Js_of_ocaml.Js.t -> colorStates: Webgpu__.Api.GPUColorStateDescriptor.js Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t -> ?depthStencilState: Webgpu__.Api.GPUDepthStencilStateDescriptor.js Js_of_ocaml.Js.t -> ?vertexState:Webgpu__.Api.GPUVertexStateDescriptor.js Js_of_ocaml.Js.t -> ?sampleCount:int -> ?sampleMask:int -> ?alphaToCoverageEnabled:bool Js_of_ocaml.Js.t -> unit -> t