Пример #1
0
 public static void softwareVertexMorph(float t, HardwareVertexBufferPtr b1, HardwareVertexBufferPtr b2, VertexData targetVertexData)
 {
     OgrePINVOKE.Mesh_softwareVertexMorph(t, HardwareVertexBufferPtr.getCPtr(b1), HardwareVertexBufferPtr.getCPtr(b2), VertexData.getCPtr(targetVertexData));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public static void extrudeVertices(HardwareVertexBufferPtr vertexBuffer, uint originalVertexCount, Vector4 lightPos, float extrudeDist)
 {
     OgrePINVOKE.ShadowCaster_extrudeVertices(HardwareVertexBufferPtr.getCPtr(vertexBuffer), originalVertexCount, Vector4.getCPtr(lightPos), extrudeDist);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public void setBinding(ushort index, HardwareVertexBufferPtr buffer)
 {
     OgrePINVOKE.VertexBufferBinding_setBinding(swigCPtr, index, HardwareVertexBufferPtr.getCPtr(buffer));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 public void setVertexBuffer(HardwareVertexBufferPtr buf)
 {
     OgrePINVOKE.VertexMorphKeyFrame_setVertexBuffer(swigCPtr, HardwareVertexBufferPtr.getCPtr(buf));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public void touchVertexBufferCopy(HardwareVertexBufferPtr bufferCopy)
 {
     OgrePINVOKE.HardwareBufferManagerBase_touchVertexBufferCopy(swigCPtr, HardwareVertexBufferPtr.getCPtr(bufferCopy));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
0
 public void build(HardwareVertexBufferPtr destVertexBuffer, uint vertexStart, HardwareIndexBufferPtr destIndexBuffer, uint indexStart)
 {
     OgrePINVOKE.PatchSurface_build(swigCPtr, HardwareVertexBufferPtr.getCPtr(destVertexBuffer), vertexStart, HardwareIndexBufferPtr.getCPtr(destIndexBuffer), indexStart);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public HardwareVertexBufferPtr(HardwareVertexBufferPtr r) : this(OgrePINVOKE.new_HardwareVertexBufferPtr__SWIG_2(HardwareVertexBufferPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #8
0
 public void _forceReleaseBufferCopies(HardwareVertexBufferPtr sourceBuffer)
 {
     OgrePINVOKE.HardwareBufferManagerBase__forceReleaseBufferCopies(swigCPtr, HardwareVertexBufferPtr.getCPtr(sourceBuffer));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #9
0
        public HardwareVertexBufferPtr allocateVertexBufferCopy(HardwareVertexBufferPtr sourceBuffer, HardwareBufferManagerBase.BufferLicenseType licenseType, HardwareBufferLicensee licensee)
        {
            HardwareVertexBufferPtr ret = new HardwareVertexBufferPtr(OgrePINVOKE.HardwareBufferManagerBase_allocateVertexBufferCopy__SWIG_1(swigCPtr, HardwareVertexBufferPtr.getCPtr(sourceBuffer), (int)licenseType, HardwareBufferLicensee.getCPtr(licensee)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #10
0
 public virtual void registerVertexBufferSourceAndCopy(HardwareVertexBufferPtr sourceBuffer, HardwareVertexBufferPtr copy)
 {
     OgrePINVOKE.HardwareBufferManagerBase_registerVertexBufferSourceAndCopy(swigCPtr, HardwareVertexBufferPtr.getCPtr(sourceBuffer), HardwareVertexBufferPtr.getCPtr(copy));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }