bool RequiresBlending() const override;
/**
- * @copydoc Dali::NativeImageInterface::GetCustomFragmentPrefix()
- */
- const char* GetCustomFragmentPrefix() const override;
-
- /**
* @copydoc Dali::NativeImageInterface::ApplyNativeFragmentShader()
*/
bool ApplyNativeFragmentShader(std::string& shader) override;
*/
bool ReleaseBuffer() override;
+ /**
+ * @copydoc Dali::NativeImageSource::SetResourceDestructionCallback()
+ */
+ void SetResourceDestructionCallback(EventThreadCallback* callback) override;
+
private:
/**
* Private constructor; @see NativeImageSource::New()
private:
CFRef<CGImageRef> mImage;
+ std::unique_ptr<EventThreadCallback> mResourceDestructionCallback; ///< The Resource Destruction Callback
};
} // namespace Dali::Internal::Adaptor