public virtual void buildFrom(SubMesh baseSubMesh, RenderOperation renderOperation) { OgrePINVOKE.InstanceBatch_buildFrom(swigCPtr, SubMesh.getCPtr(baseSubMesh), RenderOperation.getCPtr(renderOperation)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public virtual uint calculateMaxNumInstances(SubMesh baseSubMesh, ushort flags) { uint ret = OgrePINVOKE.InstanceBatch_calculateMaxNumInstances(swigCPtr, SubMesh.getCPtr(baseSubMesh), flags); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual RenderOperation build(SubMesh baseSubMesh) { RenderOperation ret = new RenderOperation(OgrePINVOKE.InstanceBatch_build(swigCPtr, SubMesh.getCPtr(baseSubMesh)), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void convertToSubMesh(SubMesh sm) { OgrePINVOKE.ManualObject_ManualObjectSection_convertToSubMesh(swigCPtr, SubMesh.getCPtr(sm)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }