Tizen Native API
5.0
|
Sampler is a handle to an object that can be used to provide the sampling parameters to sample textures. More...
Public Member Functions | |
Sampler () | |
Default constructor, creates an empty handle. | |
~Sampler () | |
Destructor. | |
Sampler (const Sampler &handle) | |
Copy constructor, creates a new handle to the same object. | |
Sampler & | operator= (const Sampler &handle) |
Assignment operator, changes this handle to point at the same object. | |
void | SetFilterMode (FilterMode::Type minFilter, FilterMode::Type magFilter) |
Sets the filter modes for this sampler. Calling this function sets the properties MINIFICATION_FILTER and MAGNIFICATION_FILTER. | |
void | SetWrapMode (WrapMode::Type uWrap, WrapMode::Type vWrap) |
Sets the wrap modes for this sampler. | |
void | SetWrapMode (WrapMode::Type rWrap, WrapMode::Type sWrap, WrapMode::Type tWrap) |
Sets the wrap modes for this sampler. | |
Sampler (Internal::Sampler *pointer) | |
The constructor. | |
Static Public Member Functions | |
static Sampler | New () |
Creates a new Sampler object. | |
static Sampler | DownCast (BaseHandle handle) |
Downcasts to a sampler handle. If not, the returned handle is left uninitialized. |
Sampler is a handle to an object that can be used to provide the sampling parameters to sample textures.
Default constructor, creates an empty handle.
Destructor.
Dali::Sampler::Sampler | ( | const Sampler & | handle | ) |
Copy constructor, creates a new handle to the same object.
[in] | handle | Handle to an object |
Dali::Sampler::Sampler | ( | Internal::Sampler * | pointer | ) | [explicit] |
The constructor.
[in] | pointer | A pointer to a newly allocated Sampler |
static Sampler Dali::Sampler::DownCast | ( | BaseHandle | handle | ) | [static] |
static Sampler Dali::Sampler::New | ( | ) | [static] |
Assignment operator, changes this handle to point at the same object.
[in] | handle | Handle to an object |
void Dali::Sampler::SetFilterMode | ( | FilterMode::Type | minFilter, |
FilterMode::Type | magFilter | ||
) |
Sets the filter modes for this sampler. Calling this function sets the properties MINIFICATION_FILTER and MAGNIFICATION_FILTER.
[in] | minFilter | The minification filter that will be used |
[in] | magFilter | The magnification filter that will be used |
void Dali::Sampler::SetWrapMode | ( | WrapMode::Type | uWrap, |
WrapMode::Type | vWrap | ||
) |
Sets the wrap modes for this sampler.
[in] | uWrap | Wrap mode for u coordinates |
[in] | vWrap | Wrap mode for v coordinates |
void Dali::Sampler::SetWrapMode | ( | WrapMode::Type | rWrap, |
WrapMode::Type | sWrap, | ||
WrapMode::Type | tWrap | ||
) |
Sets the wrap modes for this sampler.
[in] | rWrap | Wrap mode for the z direction |
[in] | sWrap | Wrap mode for the x direction |
[in] | tWrap | Wrap mode for the y direction |