[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
public static extern bool IsUsingFramebuffer(global::System.Runtime.InteropServices.HandleRef sceneView);
+ [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_SceneView_SetFramebufferMultiSamplingLevel")]
+ public static extern void SetFramebufferMultiSamplingLevel(global::System.Runtime.InteropServices.HandleRef sceneView, uint multiSamplingLevel);
+
+ [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_SceneView_GetFramebufferMultiSamplingLevel")]
+ public static extern uint GetFramebufferMultiSamplingLevel(global::System.Runtime.InteropServices.HandleRef sceneView);
+
[global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_SceneView_SetSkybox")]
public static extern void SetSkybox(global::System.Runtime.InteropServices.HandleRef sceneView, string skyboxUrl);
}
/// <summary>
+ /// Set/Get the Framebuffer's MultiSamplingLevel.
+ /// Only has effects if UseFramebuffer is true, and Framebuffer MultiSampling is supported.
+ /// Default is 0.
+ /// </summary>
+ /// <remarks>
+ /// Getter didn't consider Framebuffer MultiSampling is supported or not.
+ /// </remarks>
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public uint FramebufferMultiSamplingLevel
+ {
+ set
+ {
+ SetFramebufferMultiSamplingLevel(value);
+ }
+ get
+ {
+ return GetFramebufferMultiSamplingLevel();
+ }
+ }
+
+ /// <summary>
/// Set/Get SkyboxUrl.
/// If SkyboxUrl is set, the cube map image is loaded and skybox is attached on scene.
/// Skybox texture is asynchronously loaded. When loading is finished, ResourcesLoaded is emitted.
return result;
}
+ internal void SetFramebufferMultiSamplingLevel(uint multiSamplingLevel)
+ {
+ Interop.SceneView.SetFramebufferMultiSamplingLevel(SwigCPtr, multiSamplingLevel);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal uint GetFramebufferMultiSamplingLevel()
+ {
+ uint result = Interop.SceneView.GetFramebufferMultiSamplingLevel(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return result;
+ }
+
/// <summary>
/// Set the ImageBasedLight ScaleFactor.
/// </summary>