Beispiel #1
0
        public SWIGTYPE_p_std__listT_Ogre__VertexElement_t findElementsBySource(ushort source)
        {
            SWIGTYPE_p_std__listT_Ogre__VertexElement_t ret = new SWIGTYPE_p_std__listT_Ogre__VertexElement_t(OgrePINVOKE.VertexDeclaration_findElementsBySource(swigCPtr, source), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #2
0
        public SWIGTYPE_p_std__listT_Ogre__VertexElement_t getElements()
        {
            SWIGTYPE_p_std__listT_Ogre__VertexElement_t ret = new SWIGTYPE_p_std__listT_Ogre__VertexElement_t(OgrePINVOKE.VertexDeclaration_getElements(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__listT_Ogre__VertexElement_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }