A complete description of a render (graphics) pipeline.

Variables

layout:PipelineLayout

The layout of bind groups for this pipeline.

vertexStage:ProgrammableStageDescriptor

The compiled vertex stage and its entry point.

@:optionaloptionalfragmentStage:Null<ProgrammableStageDescriptor>

The compiled fragment stage and its entry point, if any.

@:optionaloptionalrasterizationState:Null<RasterizationStateDescriptor>

The compiled fragment stage and its entry point, if any.

primitiveTopology:PrimitiveTopology

The primitive topology used to interpret vertices.

colorStates:Array<ColorStateDescriptor>

The effect of draw calls on the color aspect of the output target.

@:optionaloptionaldepthStencilState:Null<DepthStencilStateDescriptor>

The effect of draw calls on the depth and stencil aspects of the output target, if any.

vertexState:VertexStateDescriptor

The vertex input state for this pipeline.

sampleCount:Int

The number of samples calculated per pixel (for MSAA).

sampleMask:Int

Bitmask that restricts the samples of a pixel modified by this pipeline.

alphaToCoverageEnabled:Bool

When enabled, produces another sample mask per pixel based on the alpha output value, that is ANDed with the sample_mask and the primitive coverage to restrict the set of samples affected by a primitive. The implicit mask produced for alpha of zero is guaranteed to be zero, and for alpha of one is guaranteed to be all 1-s.