// WARNING - AUTOGENERATED - DO NOT EDIT
// 
// Generated using `sharpie urho`
// 
// TriangleMeshData.cs
// 
// Copyright 2015 Xamarin Inc. All rights reserved.

using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Urho.Urho2D;
using Urho.Gui;
using Urho.Resources;
using Urho.IO;
using Urho.Navigation;
using Urho.Network;

namespace Urho
{
	/// <summary>
	/// Triangle mesh geometry data.
	/// </summary>
	[StructLayout (LayoutKind.Sequential)]
	public unsafe partial struct TriangleMeshData
	{
		unsafe partial void OnTriangleMeshDataCreated ();

		[DllImport (Consts.NativeImport, CallingConvention = CallingConvention.Cdecl)]
		internal static extern IntPtr TriangleMeshData_TriangleMeshData (IntPtr model, uint lodLevel);

		[Preserve]
		public TriangleMeshData (Model model, uint lodLevel)
		{
			Runtime.Validate (typeof(TriangleMeshData));
		}

		[DllImport (Consts.NativeImport, CallingConvention = CallingConvention.Cdecl)]
		internal static extern IntPtr TriangleMeshData_TriangleMeshData0 (IntPtr custom);

		[Preserve]
		public TriangleMeshData (CustomGeometry custom)
		{
			Runtime.Validate (typeof(TriangleMeshData));
		}
	}
}
