예제 #1
0
 /// <summary>Cooks a triangle mesh. The results are written to the stream. </summary>
 /// <param name="desc">The triangle mesh descriptor to read the mesh from. </param>
 /// <param name="stream">User stream to output the cooked data. </param>
 public virtual bool NxCookTriangleMesh(NxTriangleMeshDesc desc, NxStream stream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxCookingInterface_NxCookTriangleMesh_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef), (stream != null ? stream.ClassPointer : NullRef)));
 }
예제 #2
0
 /// <summary>Saves the Mesh descriptor. </summary>
 /// <param name="desc">The descriptor used to retrieve the state of the object. </param>
 public virtual bool saveToDesc(NxTriangleMeshDesc desc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxTriangleMesh_saveToDesc_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef)));
 }
예제 #3
0
 private bool NxCookTriangleMesh_virtual(IntPtr desc, IntPtr stream)
 {
     return(NxCookTriangleMesh(NxTriangleMeshDesc.GetClass(desc), NxStream.GetClass(stream)));
 }
예제 #4
0
 private bool saveToDesc_virtual(IntPtr desc)
 {
     return(saveToDesc(NxTriangleMeshDesc.GetClass(desc)));
 }