Skip to main content

Module sample_type

Module sample_type 

Source
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