Function create_sampler

Source
pub fn create_sampler<C>(
    context: C,
    normalize_coords: bool,
    addressing_mode: AddressingMode,
    filter_mode: FilterMode,
) -> Result<Sampler>
where C: ClContextPtr,
Expand description

Creates and returns a new sampler object.

SDK Docs