}
}
+ImagePtr Sampler::GetImage() const
+{
+ return mImageConnector.Get();
+}
+
void Sampler::SetFilterMode( Dali::Sampler::FilterMode minFilter, Dali::Sampler::FilterMode magFilter )
{
if( NULL != mSceneObject )
void SetImage( ImagePtr& image );
/**
+ * @copydoc Dali::Sampler::GetImage()
+ */
+ ImagePtr GetImage() const;
+
+ /**
* @copydoc Dali::Sampler::SetFilterMode()
*/
void SetFilterMode( Dali::Sampler::FilterMode minFilter, Dali::Sampler::FilterMode magFilter );
GetImplementation(*this).SetImage( imagePtr );
}
+Image Sampler::GetImage() const
+{
+ Internal::ImagePtr imagePtr( GetImplementation(*this).GetImage() );
+ return Dali::Image( imagePtr.Get() );
+}
+
void Sampler::SetFilterMode( FilterMode minFilter, FilterMode magFilter )
{
GetImplementation(*this).SetFilterMode( minFilter, magFilter );
void SetImage( Image& image );
/**
+ * @brief Retrieve the image used by this sampler
+ *
+ * If no image is assigned, an empty handle is returned
+ * @return The image.
+ */
+ Image GetImage() const;
+
+ /**
* @brief Set the filter modes for this sampler
*
* Calling this function sets the properties MINIFICATION_FILTER