TgpuLayoutTexture
TgpuLayoutTexture<
TSampleType
>:TgpuLayoutEntryBase
&object
Defined in: packages/typegpu/src/tgpuBindGroupLayout.ts:110
Type declaration
Section titled “Type declaration”multisampled?
Section titled “multisampled?”
optional
multisampled:boolean
Default
Section titled “Default”false
texture
Section titled “texture”texture:
TSampleType
- ‘float’ - f32
- ‘unfilterable-float’ - f32, cannot be used with filtering samplers
- ‘depth’ - f32
- ‘sint’ - i32
- ‘uint’ - u32
viewDimension?
Section titled “viewDimension?”
optional
viewDimension:GPUTextureViewDimension
Default
Section titled “Default”'2d'
Type Parameters
Section titled “Type Parameters”• TSampleType extends GPUTextureSampleType
= GPUTextureSampleType