texture1dfT
이 페이지에서

texture1dfT

상수, 타입 분류

A sampled float 1D texture: a row of texels addressed by one f32, the shape a transfer function or a colour ramp takes.

import { texture1dfT } from 'typeshade'

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

구문

const texture1dfT: { readonly kind: "texture"; readonly dim: "1d"; readonly elem: "f32"; }

설명

WebGPU only: GLSL ES 3.00 has no sampler1D (the word is reserved), so a module carrying one needs the texture1d Capability, which the GLSL backend has no row for.

함께 보기

소스

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

이 페이지 편집 문제 보고