/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/MeshBinding.cs
ViewVC logotype

Contents of /trunk/gr2lib/core/coretypes/implementation/MeshBinding.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 186 - (show annotations) (download)
Sat Jul 24 02:23:18 2010 UTC (9 years, 3 months ago) by william
File size: 992 byte(s)
continue to add xml documentation

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using gr2lib.core.helpers;
6
7 namespace gr2lib.core.coretypes.implementation
8 {
9 /// <summary>
10 /// MeshBinding class
11 /// </summary>
12 public class MeshBinding
13 {
14 //public Mesh Mesh;
15
16 public IntPtr NativePointer;
17
18 internal static MeshBinding ReadFromMemory(IntPtr pointer)
19 {
20 if (pointer == IntPtr.Zero) return null;
21 native.MeshBinding native = Helpers.ReadFromMemory<native.MeshBinding>(pointer);
22 MeshBinding managed = MeshBinding.ReadFromNative(native);
23 managed.NativePointer = pointer;
24 return managed;
25 }
26
27 internal static MeshBinding ReadFromNative(native.MeshBinding native)
28 {
29 MeshBinding managed = new MeshBinding();
30 //managed.Mesh = Mesh.ReadFromMemory(native.Mesh);
31 return managed;
32 }
33 }
34 }

  ViewVC Help
Powered by ViewVC 1.1.22