Android Studio Sign in

GPURenderPipelineDescriptor


class GPURenderPipelineDescriptor


A descriptor for creating a render pipeline.

Summary

Public constructors

GPURenderPipelineDescriptor(
    vertex: GPUVertexState,
    label: String?,
    layout: GPUPipelineLayout?,
    primitive: GPUPrimitiveState,
    depthStencil: GPUDepthStencilState?,
    multisample: GPUMultisampleState,
    fragment: GPUFragmentState?
)

Public properties

GPUDepthStencilState?
GPUFragmentState?

The configuration for the fragment stage and color targets, if required.

String?

The label for the render pipeline.

GPUPipelineLayout?

The layout of the bind groups and push constants used by the pipeline.

GPUMultisampleState

The configuration for multisampling.

GPUPrimitiveState

The configuration for primitive assembly.

GPUVertexState

The configuration for the vertex stage.

Public constructors

GPURenderPipelineDescriptor

Added in 1.0.0-alpha02
GPURenderPipelineDescriptor(
    vertex: GPUVertexState,
    label: String? = null,
    layout: GPUPipelineLayout? = null,
    primitive: GPUPrimitiveState = GPUPrimitiveState(),
    depthStencil: GPUDepthStencilState? = null,
    multisample: GPUMultisampleState = GPUMultisampleState(),
    fragment: GPUFragmentState? = null
)

Public properties

depthStencil

Added in 1.0.0-alpha02
var depthStencilGPUDepthStencilState?

fragment

Added in 1.0.0-alpha02
var fragmentGPUFragmentState?

The configuration for the fragment stage and color targets, if required.

label

Added in 1.0.0-alpha02
var labelString?

The label for the render pipeline.

layout

Added in 1.0.0-alpha02
var layoutGPUPipelineLayout?

The layout of the bind groups and push constants used by the pipeline.

multisample

Added in 1.0.0-alpha02
var multisampleGPUMultisampleState

The configuration for multisampling.

primitive

Added in 1.0.0-alpha02
var primitiveGPUPrimitiveState

The configuration for primitive assembly.

vertex

Added in 1.0.0-alpha02
var vertexGPUVertexState

The configuration for the vertex stage.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.