pub struct Sampler { /* fields omitted */ }
Expand description
An OpenCL sampler.
Has methods to return information from calls to clGetSamplerInfo with the
appropriate parameters.
Implements the Drop trait to call release_sampler when the object is dropped.
Get data about an OpenCL sampler object.
Calls clGetDeviceInfo to get the desired data about the sampler object.
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.