Skip to content

Sign up to be notified when the ShaderHunt platform is available, along with interactive examples teaching TypeGPU from the ground up.

TgpuLayoutTexture

TgpuLayoutTexture<TSampleType>: TgpuLayoutEntryBase & object

Defined in: packages/typegpu/src/tgpuBindGroupLayout.ts:110

optional multisampled: boolean

false

texture: TSampleType

  • ‘float’ - f32
  • ‘unfilterable-float’ - f32, cannot be used with filtering samplers
  • ‘depth’ - f32
  • ‘sint’ - i32
  • ‘uint’ - u32

optional viewDimension: GPUTextureViewDimension

'2d'

TSampleType extends GPUTextureSampleType = GPUTextureSampleType