as自动生成
分类:类型
端口 Field 的存储编码(f16、unorm8 等):Kernel 读写的是声明类型,存储更窄。
input albedo: Grid<Vec4 as unorm8>;How a port’s Field is stored: f16, unorm8, snorm8, unorm16, u8, i8, u16, i16, or word; a Kernel reads and writes the type, the storage is narrower.
分类:类型
端口 Field 的存储编码(f16、unorm8 等):Kernel 读写的是声明类型,存储更窄。
input albedo: Grid<Vec4 as unorm8>;How a port’s Field is stored: f16, unorm8, snorm8, unorm16, u8, i8, u16, i16, or word; a Kernel reads and writes the type, the storage is narrower.