textureDepth2dT
이 페이지에서

textureDepth2dT

상수, 타입 분류

A 2D depth texture, the texture a shadow map is.

import { textureDepth2dT } from 'typeshade'

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

구문

const textureDepth2dT: { readonly kind: "depth-texture"; readonly dim: "2d"; }

설명

Single-channel float with no element type of its own, and a read of one yields f32, not vec4.

소스

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

이 페이지 편집 문제 보고