Ejemplo n.º 1
0
 public void reorganiseBuffers(VertexDeclaration newDeclaration, SWIGTYPE_p_std__vectorT_Ogre__HardwareBuffer__Usage_t bufferUsage)
 {
     OgrePINVOKE.VertexData_reorganiseBuffers__SWIG_1(swigCPtr, VertexDeclaration.getCPtr(newDeclaration), SWIGTYPE_p_std__vectorT_Ogre__HardwareBuffer__Usage_t.getCPtr(bufferUsage));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_Ogre__HardwareBuffer__Usage_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }