Tizen Native API
4.0
|
Dali::Sampler Class Reference
Sampler is a handle to an object that can be used to provide the sampling parameters to sample textures. More...
Inheritance diagram for Dali::Sampler:
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. |
Detailed Description
Sampler is a handle to an object that can be used to provide the sampling parameters to sample textures.
- Since:
- 3.0, DALi version 1.1.43
Constructor & Destructor Documentation
Default constructor, creates an empty handle.
- Since:
- 3.0, DALi version 1.1.43
Destructor.
- Since:
- 3.0, DALi version 1.1.43
Dali::Sampler::Sampler | ( | const Sampler & | handle | ) |
Copy constructor, creates a new handle to the same object.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] handle Handle to an object
Dali::Sampler::Sampler | ( | Internal::Sampler * | pointer | ) | [explicit] |
The constructor.
- Note:
- Not intended for application developers.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] pointer A pointer to a newly allocated Sampler
Member Function Documentation
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.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] handle Handle to an object
- Returns:
- Reference to the assigned 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.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[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.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[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.
- Since:
- 3.0, DALi version 1.1.43
- Parameters:
-
[in] rWrap Wrap mode for the z direction [in] sWrap Wrap mode for the x direction [in] tWrap Wrap mode for the y direction