Files
Prism/Prism-ScriptCore/Src/Prism/Renderer/MeshFactory.cs

17 lines
396 B
C#

using System.Runtime.CompilerServices;
namespace Prism
{
public static class MeshFactory
{
public static Mesh CreatePlane(float width, float height)
{
return new Mesh(CreatePlane_Native(width, height));
}
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern IntPtr CreatePlane_Native(float width, float height);
}
}