public SWIGTYPE_p_IDirect3D __deref__()
    {
        global::System.IntPtr cPtr = ISMathPINVOKE.Direct3D___deref__(swigCPtr);
        SWIGTYPE_p_IDirect3D  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_IDirect3D(cPtr, false);

        return(ret);
    }