}
}
- [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_SetMaxTextureSize")]
- public static extern void SetMaxTextureSize_gl(uint jarg1);
-
- [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_SetMaxTextureSize")]
- public static extern void SetMaxTextureSize_vulkan(uint jarg1);
-
- public static void SetMaxTextureSize(uint jarg1)
- {
- if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
- {
- SetMaxTextureSize_vulkan(jarg1);
- }
- else
- {
- SetMaxTextureSize_gl(jarg1);
- }
- }
-
- [global::System.Runtime.InteropServices.DllImport(Graphics.GlesCSharpBinder, EntryPoint = "CSharp_Dali_GetMaxTextureSize")]
- public static extern uint GetMaxTextureSize_gl();
-
- [global::System.Runtime.InteropServices.DllImport(Graphics.VulkanCSharpBinder, EntryPoint = "CSharp_Dali_GetMaxTextureSize")]
- public static extern uint GetMaxTextureSize_vulkan();
-
- public static uint GetMaxTextureSize()
- {
- if (Tizen.NUI.Graphics.Backend == Tizen.NUI.Graphics.BackendType.Vulkan)
- {
- return GetMaxTextureSize_vulkan();
- }
- else
- {
- return GetMaxTextureSize_gl();
- }
- }
}
}
return ret;
}
- /// <summary>
- /// Set the maximum texture size. Then size can be kwown by GL_MAX_TEXTURE_SIZE.
- /// </summary>
- /// <param name="size">The maximum texture size to set.</param>
- /// <since_tizen> 5 </since_tizen>
- /// This will be released at Tizen.NET API Level 5. Therefore, currently this would be used as an in-house API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static void SetMaxTextureSize(uint size)
- {
- NDalicPINVOKE.SetMaxTextureSize(size);
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- }
-
- /// <summary>
- /// Get the maximum texture size.
- /// </summary>
- /// <returns>The maximum texture size.</returns>
- /// <since_tizen> 5 </since_tizen>
- /// This will be released at Tizen.NET API Level 5. Therefore, currently this would be used as an in-house API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static uint GetMaxTextureSize()
- {
- uint ret = NDalicPINVOKE.GetMaxTextureSize();
- if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
}
}