[Tizen] Bind SceneView.FramebufferMultiSamplingLevel 62/287362/2 accepted/tizen/7.0/unified/20230203.164151 accepted/tizen/7.0/unified/20230213.171740
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 27 Jan 2023 07:43:48 +0000 (16:43 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Fri, 27 Jan 2023 16:06:02 +0000 (01:06 +0900)
Change-Id: I85b1b438dcfb3f657cd2abc61ecf7f2a8b17b102
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-csharp-binder/src/scene-view-wrap.cpp

index 3b97fcd..a4510a1 100755 (executable)
@@ -391,6 +391,44 @@ extern "C"
     return result;
   }
 
+  SWIGEXPORT void SWIGSTDCALL CSharp_Dali_SceneView_SetFramebufferMultiSamplingLevel(void *csSceneView, uint32_t multiSamplingLevel)
+  {
+    Dali::Scene3D::SceneView *sceneView = (Dali::Scene3D::SceneView *)csSceneView;
+
+    if (!sceneView)
+    {
+      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Scene3D::SceneView", 0);
+      return;
+    }
+    {
+      try
+      {
+        sceneView->SetFramebufferMultiSamplingLevel(static_cast<uint8_t>(multiSamplingLevel));
+      }
+      CALL_CATCH_EXCEPTION();
+    }
+  }
+
+  SWIGEXPORT uint32_t SWIGSTDCALL CSharp_Dali_SceneView_GetFramebufferMultiSamplingLevel(void *csSceneView)
+  {
+    Dali::Scene3D::SceneView *sceneView = (Dali::Scene3D::SceneView *)csSceneView;
+    uint32_t result = 0u;
+
+    if (!sceneView)
+    {
+      SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Scene3D::SceneView", 0);
+      return 0;
+    }
+    {
+      try
+      {
+        result = static_cast<uint32_t>(sceneView->GetFramebufferMultiSamplingLevel());
+      }
+      CALL_CATCH_EXCEPTION(0);
+    }
+    return result;
+  }
+
 #ifdef __cplusplus
 }
 #endif