LayoutEntryToInput
LayoutEntryToInput<
T> =TgpuLayoutEntry|nullextendsT?TgpuBuffer<AnyWgslData> |GPUBuffer|TgpuSampler|GPUSampler|TgpuComparisonSampler|TgpuTexture|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|GPUTexture|SampledFlag&TgpuTexture<Prettify<β¦>> |TgpuTextureView<WgslTexture> :TextendsTgpuLayoutStorageTexture?GPUTextureView|GPUTexture|StorageFlag&TgpuTexture<β¦> |TgpuTextureView<WgslStorageTexture> :TextendsTgpuLayoutExternalTexture?GPUExternalTexture:never
Defined in: packages/typegpu/src/tgpuBindGroupLayout.ts:339
Type Parameters
Section titled βType ParametersβT extends TgpuLayoutEntry | null