Class FragmentState

Describes the fragment process in a render pipeline.

class FragmentState ;

Constructors

NameDescription
this (shader, entryPoint, renderTargets)
this (shader, entryPoint, constants, renderTargets)

Fields

NameTypeDescription
constants __C.WGPUConstantEntry[]The push constants provided to the compiled shader for this stage.
entryPoint stringThe name of the entry point in the compiled shader.
renderTargets const(ColorTargetState[])The color state of the render targets.
shader ShaderModuleThe compiled shader module for this stage.

See Also

wgpu::FragmentState