FragmentState.this - multiple declarations

Function FragmentState.this

this (
  ShaderModule shader,
  string entryPoint,
  ColorTargetState[] renderTargets
);

Parameters

NameDescription
shader The compiled shader module for this stage.
entryPoint The name of the entry point in the compiled shader. There must be a function that returns void with this name in the shader.
renderTargets The color state of the render targets.

Function FragmentState.this

this (
  ShaderModule shader,
  string entryPoint,
  __C.WGPUConstantEntry[] constants,
  ColorTargetState[] renderTargets
);

Parameters

NameDescription
shader The compiled shader module for this stage.
entryPoint The name of the entry point in the compiled shader. There must be a function that returns void with this name in the shader.
constants The push constants provided to the compiled shader for this stage.
renderTargets The color state of the render targets.