Function ocl_core::create_sampler [] [src]

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

Creates and returns a new sampler object.

SDK Docs