@blend_src
이 페이지에서

@blend_src

어트리뷰트

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.

시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.

구문

declare function blend_src(n: number): (target: unknown, context?: unknown) => void

매개변수

  • n number

선언에는 TypeScript 데코레이터 런타임이 넘겨주는 target과 context도 적혀 있습니다. 호출에서는 둘 다 쓰지 않습니다.

설명

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.

함께 보기

이 페이지 편집 문제 보고