2 * Copyright(c) 2023 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 namespace Tizen.NUI.Scene3D
20 internal static partial class Interop
22 internal static partial class ModelPrimitive
24 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_Model_Primitive_New_SWIG_0")]
25 public static extern global::System.IntPtr ModelPrimitiveNew();
27 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_new_Model_Primitive_SWIG_0")]
28 public static extern global::System.IntPtr NewModelPrimitive();
30 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_new_Model_Primitive_SWIG_1")]
31 public static extern global::System.IntPtr NewModelPrimitive(global::System.Runtime.InteropServices.HandleRef modelPrimitive);
33 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_delete_Model_Primitive")]
34 public static extern void DeleteModelPrimitive(global::System.Runtime.InteropServices.HandleRef modelPrimitive);
36 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_Model_Primitive_Assign")]
37 public static extern global::System.IntPtr ModelPrimitiveAssign(global::System.Runtime.InteropServices.HandleRef modelPrimitive, global::System.Runtime.InteropServices.HandleRef sourceModelPrimitive);
39 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_Model_Primitive_DownCast")]
40 public static extern global::System.IntPtr ModelPrimitiveDownCast(global::System.Runtime.InteropServices.HandleRef modelPrimitive);
42 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_Model_Primitive_SetGeometry")]
43 public static extern void SetGeometry(global::System.Runtime.InteropServices.HandleRef model, global::System.Runtime.InteropServices.HandleRef geometry);
45 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_Model_Primitive_GetGeometry")]
46 public static extern global::System.IntPtr GetGeometry(global::System.Runtime.InteropServices.HandleRef model);
48 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_Model_Primitive_SetMaterial")]
49 public static extern void SetMaterial(global::System.Runtime.InteropServices.HandleRef model, global::System.Runtime.InteropServices.HandleRef material);
51 [global::System.Runtime.InteropServices.DllImport(Libraries.Scene3D, EntryPoint = "CSharp_Dali_Model_Primitive_GetMaterial")]
52 public static extern global::System.IntPtr GetMaterial(global::System.Runtime.InteropServices.HandleRef model);