Function ocl_core::create_sampler

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

Creates and returns a new sampler object.

SDK Docs