texture2dMsfT
이 페이지에서

texture2dMsfT

상수, 타입 분류

A multisampled 2D texture: the resolve-source binding for an MSAA render target, read one sample at a time with textureLoad inside a per-sample averaging loop.

import { texture2dMsfT } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

const texture2dMsfT: { readonly kind: "texture"; readonly dim: "2d-ms"; readonly elem: "f32"; }

설명

A host that chooses the type at emit time (sampleCount > 1 ? texture2dMsfT : texture2dfT) can serve both the MSAA and the single-sample path from one shader source.

소스

src/core/ir/types.ts, 595행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고