示例#1
0
 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();
     }
 }
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
 public void convertToSubMesh(SubMesh sm)
 {
     OgrePINVOKE.ManualObject_ManualObjectSection_convertToSubMesh(swigCPtr, SubMesh.getCPtr(sm));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }