texture2dfT
이 페이지에서

texture2dfT

상수, 타입 분류

샘플링하는 2D float 텍스처입니다. textureSample과 textureLoad가 쓰는 일반적인 단일 레이어 바인딩 타입이며, 색 램프, 룩업 테이블, 아틀라스에 씁니다(resource).

import { texture2dfT } from 'typeshade/core/ir'

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

구문

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

설명

정확한 정수 텍셀이 필요하면 texture2duT 또는 texture2diT를 씁니다.

함께 보기

소스

src/core/ir/types/texture-types.ts, 10행, 커밋 af54ddad5 기준

이 페이지 편집 문제 보고