|
| | Sampler () |
| | Default constructor - initializes to NULL.
|
| | Sampler (const Context &context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int *err=NULL) |
| | Constructs a Sampler in a specified context.
|
| __CL_EXPLICIT_CONSTRUCTORS | Sampler (const cl_sampler &sampler) |
| | Constructor from cl_sampler - takes ownership.
|
| Sampler & | operator= (const cl_sampler &rhs) |
| | Assignment operator from cl_sampler - takes ownership.
|
| | Sampler (const Sampler &sam) |
| | Copy constructor to forward copy to the superclass correctly. Required for MSVC.
|
| Sampler & | operator= (const Sampler &sam) |
| | Copy assignment to forward copy to the superclass correctly. Required for MSVC.
|
| template<typename T> |
| cl_int | getInfo (cl_sampler_info name, T *param) const |
| | Wrapper for clGetSamplerInfo().
|
| template<cl_int name> |
| detail::param_traits< detail::cl_sampler_info, name >::param_type | getInfo (cl_int *err=NULL) const |
| | Wrapper for clGetSamplerInfo() that returns by value.
|
| | Sampler () |
| | Default constructor - initializes to NULL.
|
| | Sampler (const Context &context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int *err=NULL) |
| | Constructs a Sampler in a specified context.
|
| __CL_EXPLICIT_CONSTRUCTORS | Sampler (const cl_sampler &sampler) |
| | Constructor from cl_sampler - takes ownership.
|
| Sampler & | operator= (const cl_sampler &rhs) |
| | Assignment operator from cl_sampler - takes ownership.
|
| | Sampler (const Sampler &sam) |
| | Copy constructor to forward copy to the superclass correctly. Required for MSVC.
|
| Sampler & | operator= (const Sampler &sam) |
| | Copy assignment to forward copy to the superclass correctly. Required for MSVC.
|
| template<typename T> |
| cl_int | getInfo (cl_sampler_info name, T *param) const |
| | Wrapper for clGetSamplerInfo().
|
| template<cl_int name> |
| detail::param_traits< detail::cl_sampler_info, name >::param_type | getInfo (cl_int *err=NULL) const |
| | Wrapper for clGetSamplerInfo() that returns by value.
|
| | Wrapper () |
| | ~Wrapper () |
| Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
| cl_type | operator() () const |
Class interface for cl_sampler.
- Note
- Copies of these objects are shallow, meaning that the copy will refer to the same underlying cl_sampler as the original. For details, see clRetainSampler() and clReleaseSampler().
- See also
- cl_sampler
Definition at line 4504 of file cl.hpp.