setBlendConstant method

void setBlendConstant(
  1. GPUColor color
)

The setBlendConstant() method of the GPURenderPassEncoder interface sets the constant blend color and alpha values used with "constant" and "one-minus-constant" blend factors (as set in the descriptor of the GPUDevice.createRenderPipeline method, in the blend property).

Implementation

external void setBlendConstant(GPUColor color);