Enum wgpu_types::SamplerBindingType [−][src]
#[repr(C)]
pub enum SamplerBindingType {
Filtering,
NonFiltering,
Comparison,
}
Expand description
Specific type of a sampler binding.
WebGPU spec: https://gpuweb.github.io/gpuweb/#enumdef-gpusamplerbindingtype
Variants
Filtering
The sampling result is produced based on more than a single color sample from a texture, e.g. when bilinear interpolation is enabled.
NonFiltering
The sampling result is produced based on a single color sample from a texture.
Comparison
Use as a comparison sampler instead of a normal sampler. For more info take a look at the analogous functionality in OpenGL: https://www.khronos.org/opengl/wiki/Sampler_Object#Comparison_mode.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SamplerBindingType
impl Send for SamplerBindingType
impl Sync for SamplerBindingType
impl Unpin for SamplerBindingType
impl UnwindSafe for SamplerBindingType
Blanket Implementations
Mutably borrows from an owned value. Read more