texture2dfT
이 페이지에서

texture2dfT

상수, 타입 분류

A sampled 2D float texture: the ordinary single-layer binding type behind textureSample and textureLoad, for colour ramps, lookup tables and atlases (resource).

import { texture2dfT } from 'typeshade'

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

구문

const texture2dfT: { readonly kind: "texture"; readonly dim: "2d"; readonly elem: "f32"; }

설명

For exact integer texels use texture2duT or texture2diT.

관련 가이드

함께 보기

소스

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

이 페이지 편집 문제 보고