Module Render_pipeline.Descriptor

Descriptors.

type t

The type for GPURenderPipelineDescriptor objects.

val v : ?label:Jstr.t -> ?primitive:Primitive.State.t -> ?depth_stencil:Depth_stencil_state.t -> ?multisample:Multisample_state.t -> ?fragment:Fragment_state.t -> layout:[ `Auto | `Layout of Pipeline_layout.t ] -> vertex:Vertex.State.t -> unit -> t

v constructs a GPURenderPipelineDescriptor object with given parameters.