Struct ocl_core::types::abs::Sampler
[−]
[src]
pub struct Sampler(_);
cl_sampler
Methods
impl Sampler
[src]
unsafe fn from_fresh_ptr(ptr: cl_sampler) -> Sampler
Only call this when passing a newly created pointer directly from
clCreate...
. Do not use this to clone or copy.
unsafe fn as_ptr(&self) -> cl_sampler
Returns a pointer, do not store it.
Trait Implementations
impl Debug for Sampler
[src]
impl Clone for Sampler
[src]
fn clone(&self) -> Sampler
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more