Expand description
Texture binding sample types. Enums exploded into consts because
Float has a useless filterable property which is annoying to write out.
Constants§
- DEPTH
wgpu::TextureSampleType::Depth- FLOAT
wgpu::TextureSampleType::Float { filterable: true, }- FLOAT_
FILTERABLE_ FALSE_ IF_ YOU_ REALLY_ CARE_ LIKE_ WHATS_ THE_ POINT_ YOU_ CAN_ SET_ FILTERABLE_ TRUE_ AND_ STILL_ USE_ IT_ WITH_ A_ NON_ FILTERING_ SAMPLER wgpu::TextureSampleType::Float { filterable: false, } // wtf why- SINT
wgpu::TextureSampleType::Sint- UINT
wgpu::TextureSampleType::Uint