HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl::Sampler Class Reference

Sampler interface for cl_sampler. More...

#include <cl.hpp>

+ Inheritance diagram for cl::Sampler:

Public Member Functions

 Sampler ()
 
 Sampler (const Context &context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int *err=NULL)
 
 Sampler (const Sampler &sampler)
 
 Sampler (const cl_sampler &sampler)
 
Sampleroperator= (const Sampler &rhs)
 
Sampleroperator= (const cl_sampler &rhs)
 
template<typename T >
cl_int getInfo (cl_sampler_info name, T *param) const
 
template<cl_int name>
detail::param_traits
< detail::cl_sampler_info,
name >::param_type 
getInfo (cl_int *err=NULL) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_sampler >
 Wrapper ()
 
 Wrapper (const cl_type &obj)
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 ~Wrapper ()
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
Wrapper< cl_type > & operator= (const cl_type &rhs)
 
cl_type operator() () const
 
cl_typeoperator() ()
 

Additional Inherited Members

- Public Types inherited from cl::detail::Wrapper< cl_sampler >
typedef cl_sampler cl_type
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_sampler >
cl_int retain () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_sampler >
cl_type object_
 

Detailed Description

Sampler interface for cl_sampler.

Definition at line 2391 of file cl.hpp.

Constructor & Destructor Documentation

cl::Sampler::Sampler ( )
inline

Definition at line 2394 of file cl.hpp.

cl::Sampler::Sampler ( const Context context,
cl_bool  normalized_coords,
cl_addressing_mode  addressing_mode,
cl_filter_mode  filter_mode,
cl_int err = NULL 
)
inline

Definition at line 2396 of file cl.hpp.

cl::Sampler::Sampler ( const Sampler sampler)
inline

Definition at line 2417 of file cl.hpp.

cl::Sampler::Sampler ( const cl_sampler sampler)
inline

Definition at line 2419 of file cl.hpp.

Member Function Documentation

template<typename T >
cl_int cl::Sampler::getInfo ( cl_sampler_info  name,
T *  param 
) const
inline

Definition at line 2436 of file cl.hpp.

template<cl_int name>
detail::param_traits<detail::cl_sampler_info, name>::param_type cl::Sampler::getInfo ( cl_int err = NULL) const
inline

Definition at line 2445 of file cl.hpp.

Sampler& cl::Sampler::operator= ( const Sampler rhs)
inline

Definition at line 2421 of file cl.hpp.

Sampler& cl::Sampler::operator= ( const cl_sampler rhs)
inline

Definition at line 2429 of file cl.hpp.


The documentation for this class was generated from the following file: