Module Render_pipeline.DescriptorSource

Descriptors.

Sourcetype t

The type for GPURenderPipelineDescriptor objects.

Sourceval 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.