Fp64GuardHandle
인터페이스, f64 에뮬레이션 분류
The value fp64Guard returns: a binding declaration for the _fp64 guard texture, pinned to the caller's chosen.
import type { Fp64GuardHandle } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
interface Fp64GuardHandle { readonly type: ShaderType; readonly binding: BindingDecl;}설명
Pass it inside a
module’s uses: [...] only when the host’s bind-group layout is fixed and needs
the guard at a specific slot. Leaving it out is the common case: fp64Lower
adds the binding at group 0, in the first free slot, to any module whose lowered code
calls a guarded df64 helper. A module that pins a slot here but also declares a
conflicting _fp64 binding elsewhere (a different type or space) fails emit with SD0042.
인스턴스 속성
type읽기 전용ShaderTypeThe binding’s shader type: a 2D
f32texture.binding읽기 전용BindingDeclThe binding declaration, ready for a module’s
uses: [...].
함께 보기
소스
src/core/fp64/df64-lib.ts, 147행, 커밋 c66579bf 기준