@blend_src
어트리뷰트
Which of the two colours a dual-source blend mixes this fragment output is: @blend_src(0) and @blend_src(1), both at @location(0).
이름마다 붙은 시그니처와 설명은 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
declare function blend_src(n: number): (target: unknown, context?: unknown) => void매개변수
-
nnumber
선언에는 TypeScript 데코레이터 런타임이 넘겨주는 target과 context도 적혀 있습니다. 호출에서는 둘 다 쓰지 않습니다.
설명
Derives the dualSourceBlending capability; GLSL ES 3.00 has no second source, so a module using it fails closed there.