*/
// INTERNAL INCLUDES
-#include <dali/public-api/object/handle.h> // Dali::Handle
#include <dali/public-api/actors/sampling.h>
+#include <dali/public-api/object/handle.h> // Dali::Handle
namespace Dali
{
class DALI_CORE_API Sampler : public BaseHandle
{
public:
-
/**
* @brief Creates a new Sampler object.
*
* @SINCE_1_1.43
* @param[in] handle Handle to an object
*/
- Sampler( const Sampler& handle );
+ Sampler(const Sampler& handle);
/**
* @brief Downcasts to a sampler handle.
* @param[in] handle Handle to an object
* @return Handle or an uninitialized handle
*/
- static Sampler DownCast( BaseHandle handle );
+ static Sampler DownCast(BaseHandle handle);
/**
* @brief Assignment operator, changes this handle to point at the same object.
* @param[in] handle Handle to an object
* @return Reference to the assigned object
*/
- Sampler& operator=( const Sampler& handle );
-
+ Sampler& operator=(const Sampler& handle);
/**
* @brief Move constructor.
* @SINCE_1_9.22
* @param[in] rhs A reference to the moved handle
*/
- Sampler( Sampler&& rhs );
+ Sampler(Sampler&& rhs) noexcept;
/**
* @brief Move assignment operator.
* @param[in] rhs A reference to the moved handle
* @return A reference to this handle
*/
- Sampler& operator=( Sampler&& rhs );
+ Sampler& operator=(Sampler&& rhs) noexcept;
/**
* @brief Sets the filter modes for this sampler.
* @param[in] minFilter The minification filter that will be used
* @param[in] magFilter The magnification filter that will be used
*/
- void SetFilterMode( FilterMode::Type minFilter, FilterMode::Type magFilter );
+ void SetFilterMode(FilterMode::Type minFilter, FilterMode::Type magFilter);
/**
* @brief Sets the wrap modes for this sampler.
* @param[in] uWrap Wrap mode for u coordinates
* @param[in] vWrap Wrap mode for v coordinates
*/
- void SetWrapMode( WrapMode::Type uWrap, WrapMode::Type vWrap );
+ void SetWrapMode(WrapMode::Type uWrap, WrapMode::Type vWrap);
/**
* @brief Sets the wrap modes for this sampler.
* @param[in] sWrap Wrap mode for the x direction
* @param[in] tWrap Wrap mode for the y direction
*/
- void SetWrapMode( WrapMode::Type rWrap, WrapMode::Type sWrap, WrapMode::Type tWrap );
+ void SetWrapMode(WrapMode::Type rWrap, WrapMode::Type sWrap, WrapMode::Type tWrap);
public:
-
/**
* @brief The constructor.
* @note Not intended for application developers.
* @SINCE_1_1.43
* @param[in] pointer A pointer to a newly allocated Sampler
*/
- explicit DALI_INTERNAL Sampler( Internal::Sampler* pointer );
+ explicit DALI_INTERNAL Sampler(Internal::Sampler* pointer);
};
/**