return offscreenApplication;
}
-OffscreenApplication OffscreenApplication::New(Dali::Any surface, OffscreenApplication::RenderMode renderMode)
+OffscreenApplication OffscreenApplication::New(Dali::Any surface, bool isTranslucent, OffscreenApplication::RenderMode renderMode)
{
- IntrusivePtr<Internal::OffscreenApplication> impl = Internal::OffscreenApplication::New(0, 0, surface, false, renderMode);
+ IntrusivePtr<Internal::OffscreenApplication> impl = Internal::OffscreenApplication::New(0, 0, surface, isTranslucent, renderMode);
OffscreenApplication offscreenApplication = OffscreenApplication(impl.Get());
* @brief This is the constructor of OffscreenApplication
*
* @param[in] surface The native surface handle to create the OffscreenWindow
+ * @param[in] isTranslucent Whether the OffscreenWindow is translucent or not
* @param[in] renderMode The RenderMode of the OffscreenApplication
*/
- static OffscreenApplication New(Dali::Any surface, RenderMode renderMode = RenderMode::AUTO);
+ static OffscreenApplication New(Dali::Any surface, bool isTranslucent, RenderMode renderMode = RenderMode::AUTO);
/**
* @brief Constructs an empty handle