LayoutEntryToInput
LayoutEntryToInput<
T>:TgpuLayoutEntry|nullextendsT?TgpuBuffer<AnyWgslData> |GPUBuffer|TgpuSampler|GPUSampler|TgpuComparisonSampler|GPUSampler|TgpuTexture|TgpuSampledTexture|TgpuMutableTexture|TgpuReadonlyTexture|TgpuWriteonlyTexture|GPUTextureView|GPUExternalTexture:TextendsTgpuLayoutUniform?TgpuBuffer<MemIdentity<UnwrapRuntimeConstructor<T["uniform"]>>> &UniformFlag|GPUBuffer:TextendsTgpuLayoutStorage?TgpuBuffer<MemIdentity<UnwrapRuntimeConstructor<T["storage"]>>> &StorageFlag|GPUBuffer:TextendsTgpuLayoutSampler?TgpuSampler|GPUSampler:TextendsTgpuLayoutComparisonSampler?TgpuComparisonSampler|GPUSampler:TextendsTgpuLayoutTexture?GPUTextureView|Sampled&TgpuTexture<Prettify<…>> |TgpuSampledTexture<Default<T["viewDimension"],"2d">,ChannelFormatToSchema[T["texture"]]> :TextendsTgpuLayoutStorageTexture?GPUTextureView|StorageFlag&TgpuTexture<…> |StorageTextureUsageForEntry<T> :TextendsTgpuLayoutExternalTexture?GPUExternalTexture:never
Defined in: packages/typegpu/src/tgpuBindGroupLayout.ts:275
Type Parameters
Section titled “Type Parameters”• T extends TgpuLayoutEntry | null