Function ocl::core::create_sampler [] [src]

pub fn create_sampler(context: &Context, normalize_coords: bool, addressing_mode: AddressingMode, filter_mode: FilterMode) -> OclResult<Sampler>

[UNTESTED] Returns a new sampler.