TgpuLayoutTexture
TgpuLayoutTexture<
TSampleType>:TgpuLayoutEntryBase&object
Defined in: packages/typegpu/src/tgpuBindGroupLayout.ts:110
Type declaration
Section titled “Type declaration”multisampled?
Section titled “multisampled?”
optionalmultisampled:boolean
Default
Section titled “Default”falsetexture
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?”
optionalviewDimension:GPUTextureViewDimension
Default
Section titled “Default”'2d'Type Parameters
Section titled “Type Parameters”• TSampleType extends GPUTextureSampleType = GPUTextureSampleType