[][src]Function fil_ocl_core::create_sampler

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

Creates and returns a new sampler object.

SDK Docs