@blend_src
Attribute
The decorated form of the blend_src option, location<0, vec4, { blend_src: 0 }> beside { blend_src: 1 }: which of the two colours a dual-source blend mixes this fragment output is.
The signature, the sentence and any message are the compiler's own text at commit af54ddad5.
Syntax
declare function blend_src(n: number): (target: unknown, context?: unknown) => voidParameters
-
nnumber
The declaration also names what the TypeScript decorator runtime hands a decorator, target and context. A call passes neither.
Description
Derives the dualSourceBlending capability; the GLSL lowering of a second source is not supported yet (Rule 10.3), so a module using it fails closed there.