*/
class DALI_IMPORT_API OffscreenApplication : public Dali::BaseHandle
{
+
public:
+ using OffscreenApplicationSignalType = Signal<void (void)>;
+
+ /**
+ * @brief Enumeration for the render mode
+ */
enum class RenderMode
{
- AUTO, // UI is rendered automatically
- MANUAL // UI is rendered by RenderOnce()
+ AUTO, // Scene is rendered automatically
+ MANUAL // Scene is rendered by RenderOnce()
};
- typedef Signal<void (void)> OffscreenApplicationSignalType;
-
public:
/**
* @param[in] isTranslucent Whether the OffscreenWindow is translucent or not
* @param[in] renderMode The RenderMode of the OffscreenApplication
*/
- static OffscreenApplication New( Dali::Any surface, bool isTranslucent,
- RenderMode renderMode = RenderMode::AUTO );
+ static OffscreenApplication New( Dali::Any surface, bool isTranslucent, RenderMode renderMode = RenderMode::AUTO );
/**
* @brief Constructs an empty handle
/**
* @brief Copy constructor
+ *
+ * @param [in] offscreenApplication A reference to the copied handle
*/
OffscreenApplication( const OffscreenApplication& offscreenApplication );
/**
* @brief Assignment operator
+ *
+ * @param [in] offscreenApplication A reference to the copied handle
+ * @return A reference to this
*/
OffscreenApplication& operator=( const OffscreenApplication& offscreenApplication );
/**
- * @brief Get the default Window handle
- * @return The default Window
+ * @brief Get the default OffscreenWindow handle
+ * @return The default OffscreenWindow
*/
OffscreenWindow GetWindow();