FragmentState
data class FragmentState(
val targets: List<GPUColorTargetState?>,
val module: GPUShaderModule,
val entryPoint: String? = null,
val constants: Map<String, GPUPipelineConstantValue> = emptyMap()
) : GPUFragmentState
Describes the fragment shader stage and its color targets.
Constructors
FragmentState
constructor(
targets: List<GPUColorTargetState?>,
module: GPUShaderModule,
entryPoint: String? = null,
constants: Map<String, GPUPipelineConstantValue> = emptyMap()
)
Properties
constants
entryPoint
module
open override val module: GPUShaderModule
targets
A list of GPUColorTargetState defining the formats and behaviors of the color targets this pipeline writes to.