Skip to main content

GpuSamplerTrait

Trait GpuSamplerTrait 

Source
pub trait GpuSamplerTrait: GpuSamplerAsAny + Debug { }
Expand description

Sampler is a GPU entity that defines how texels will be fetched from a texture. See GpuSamplerDescriptor docs for more info.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§